3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

Fix return value of timeXAgo being incompatible with format functions

This commit is contained in:
Dark 2020-04-25 17:34:22 +02:00
parent 40f5a7f043
commit 0f77f82a13

View file

@ -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) {