mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-18 15:45:03 +00:00
Fix return value of timeXAgo being incompatible with format functions
This commit is contained in:
parent
4694ead04d
commit
2f9fad506a
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ export class TagsPlugin extends ZeppelinPlugin<TConfigSchema> {
|
|||
}
|
||||
|
||||
const delay = convertDelayStringToMS(timeDiff);
|
||||
return moment(moment().valueOf() - delay);
|
||||
return moment(moment().valueOf() - delay).valueOf();
|
||||
},
|
||||
|
||||
humanizeTime(timems) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue