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

tags: rename timeFormat() to formatTime()

This commit is contained in:
Dragory 2020-05-22 23:55:00 +03:00
parent 028178ea59
commit ed1f740aa2

View file

@ -191,7 +191,7 @@ export class TagsPlugin extends ZeppelinPlugin<TConfigSchema> {
return this.timeSub(delay);
},
timeFormat(time, format) {
formatTime(time, format) {
const parsed = this.parseDateTime(time);
return moment(parsed).format(format);
},