mirror of
https://github.com/bendtherules/is-nifty-open.git
synced 2026-08-18 13:52:20 +00:00
Use better relative date + update todo dones
This commit is contained in:
@@ -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>
|
||||
),
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user