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);
|
||||
return moment(moment().valueOf() - delay);
|
||||
return moment(moment().valueOf() - delay).valueOf();
|
||||
},
|
||||
|
||||
humanizeTime(timems) {
|
||||
|
|
Loading…
Add table
Reference in a new issue