fix(core): update

This commit is contained in:
2022-11-21 09:14:32 +01:00
parent d3dd03534a
commit b2a5cda468
23 changed files with 4426 additions and 27030 deletions

View File

@@ -1,5 +1,5 @@
import * as plugins from './smarttime.plugins';
import * as units from './smarttime.units';
import * as plugins from './smarttime.plugins.js';
import * as units from './smarttime.units.js';
export type TAvailableZone = 'Europe/Berlin';
@@ -128,14 +128,14 @@ export class ExtendedDate extends Date {
};
}
public format (formatArg: string) {
public format(formatArg: string) {
return plugins.dayjs(this.getTime()).format(formatArg);
}
/**
* boolean checks
*/
public isToday () {
public isToday() {
return plugins.dayjs(this.getTime()).isToday();
}