fix(core): update

This commit is contained in:
Philipp Kunz 2019-06-17 17:19:54 +02:00
parent aa16e5d5bb
commit ce2d1b278b

View File

@ -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) => {