diff --git a/libs/event-emitter/src/utils/string-with-dates-parser.ts b/libs/event-emitter/src/utils/string-with-dates-parser.ts index b1c39ec..62225cd 100644 --- a/libs/event-emitter/src/utils/string-with-dates-parser.ts +++ b/libs/event-emitter/src/utils/string-with-dates-parser.ts @@ -35,7 +35,9 @@ export function parse(str: string, params?: Moo.Rules): Moo.Token[] { } return res; } catch (ex) { - logger.error(`Error at parse str=${str} with params=${params}, error message - ${ex}`); + logger.error( + `Error at parse str=${str} with params=${params}, error message - ${ex}`, + ); return []; } } @@ -140,7 +142,7 @@ export function parseToCalendarEvent( to = date1.set({ hour: time2.hours, minute: time2.minutes, - second: time2.seconds + second: time2.seconds, }); } else { to = from.plus(Luxon.Duration.fromMillis(DEFAULT_EVENT_DURATION));