Use better relative date + update todo dones

This commit is contained in:
2018-03-21 00:55:58 +05:30
parent 9886ea4fbe
commit 532e296b4d
2 changed files with 6 additions and 6 deletions
@@ -33,11 +33,11 @@ export class NextOpenCloseMini extends React.Component<NextOpenCloseMiniProps, {
renderDate(): JSX.Element[] {
const tmpNextDate = this.nextOpenOrCloseDate as moment.Moment;
var nextDateString = tmpNextDate.format("DD-MM-YYYY");
var nextDateString = tmpNextDate.from(this.xDay);
return [
(
<div className="openCloseDecription" key="title">
Next {this.getOpeningClosingString()} on
Next {this.getOpeningClosingString()}
</div>
),
(
+4 -4
View File
@@ -6,9 +6,9 @@
3. [X] Make responsive - text
4. Fix favicon not coming (look into serviceworker)
2. [X] Make opentoday to openXDay and move current day logic outside it
4. Add 2 more bottom sections
1. Next day section (Use mini view of OpenXDay ??)
2. Next change day section
4. [X] Add 2 more bottom sections
1. [X] Next day section (Use mini view of OpenXDay ??)
2. [X] Next change day section
9. Implement client-side routing
1. [X] Route for open/close
1. Read main section xDay from URL route
@@ -16,7 +16,7 @@
5. Allow date picker to go to particular date
6. Weekly view
7. Monthly view
10. Host at isnifty.com/open
10. [X] Host at isnifty.com/open
5. Fix filename improper casing
5. Load data from backend
6. Add tests