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