Properly fix countdown() in tags
This commit is contained in:
parent
5a2948d8a9
commit
97d144e9b4
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ export class TagsPlugin extends ZeppelinPlugin<TConfigSchema> {
|
|||
},
|
||||
|
||||
countdown(toDate) {
|
||||
const target = this.parseDateTime(toDate);
|
||||
const target = moment(this.parseDateTime(toDate));
|
||||
|
||||
const now = moment();
|
||||
if (!target.isValid()) return "";
|
||||
|
|
Loading…
Add table
Reference in a new issue