fix(core): update

This commit is contained in:
2020-10-05 22:28:40 +00:00
parent 25f7ad37ae
commit 3a110c9fd9
2 changed files with 7 additions and 0 deletions

View File

@@ -125,4 +125,8 @@ export class ExtendedDate extends Date {
public format (formatArg: string) {
return plugins.dayjs(this.getTime()).format(formatArg);
}
public isToday () {
return plugins.dayjs(this.getTime()).isToday();
}
}