mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-16 22:21:51 +00:00
tags: rename timeFormat() to formatTime()
This commit is contained in:
parent
2ad10129fa
commit
7421714fd0
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ export class TagsPlugin extends ZeppelinPlugin<TConfigSchema> {
|
||||||
return this.timeSub(delay);
|
return this.timeSub(delay);
|
||||||
},
|
},
|
||||||
|
|
||||||
timeFormat(time, format) {
|
formatTime(time, format) {
|
||||||
const parsed = this.parseDateTime(time);
|
const parsed = this.parseDateTime(time);
|
||||||
return moment(parsed).format(format);
|
return moment(parsed).format(format);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue