tags: rename timeFormat() to formatTime()

This commit is contained in:
Dragory 2020-05-22 23:55:00 +03:00
parent 2ad10129fa
commit 7421714fd0
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

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);
},