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>
),
(