fix(core): update
This commit is contained in:
parent
aa16e5d5bb
commit
ce2d1b278b
@ -17,8 +17,8 @@ export class ExtendedDate extends Date {
|
|||||||
/** */
|
/** */
|
||||||
public static fromEuropeanDateAndTime(
|
public static fromEuropeanDateAndTime(
|
||||||
europeanDateArg: string,
|
europeanDateArg: string,
|
||||||
timeArg: string,
|
timeArg: string = '12:00',
|
||||||
zoneArg: TAvailableZone
|
zoneArg: TAvailableZone = 'Europe/Berlin'
|
||||||
) {
|
) {
|
||||||
const dateArray = /(.*)\.(.*)\.(.*)/.exec(europeanDateArg);
|
const dateArray = /(.*)\.(.*)\.(.*)/.exec(europeanDateArg);
|
||||||
const sliceDate = (dateString: string) => {
|
const sliceDate = (dateString: string) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user