mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-18 15:45:03 +00:00
Properly fix countdown() in tags
This commit is contained in:
parent
7a79aff5d5
commit
1577c5273e
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ export class TagsPlugin extends ZeppelinPlugin<TConfigSchema> {
|
||||||
},
|
},
|
||||||
|
|
||||||
countdown(toDate) {
|
countdown(toDate) {
|
||||||
const target = this.parseDateTime(toDate);
|
const target = moment(this.parseDateTime(toDate));
|
||||||
|
|
||||||
const now = moment();
|
const now = moment();
|
||||||
if (!target.isValid()) return "";
|
if (!target.isValid()) return "";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue