fix(core): update

This commit is contained in:
2020-10-05 17:48:41 +00:00
parent cfcfde2132
commit 992d167a34
4 changed files with 144 additions and 41 deletions

View File

@ -121,4 +121,8 @@ export class ExtendedDate extends Date {
dayOfTheWeekName: daysArray[this.getDay()],
};
}
public format (formatArg: string) {
return plugins.dayjs(this.getTime()).format(formatArg);
}
}