diff --git a/package.json b/package.json index 602d00c6f..e13a72282 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "dayjs", + "name": "@calcom/dayjs-fork", "version": "0.0.0-development", "description": "2KB immutable date time library alternative to Moment.js with the same modern API ", "main": "dayjs.min.js", diff --git a/src/plugin/timezone/index.js b/src/plugin/timezone/index.js index 376ac8ceb..32df5a9f6 100644 --- a/src/plugin/timezone/index.js +++ b/src/plugin/timezone/index.js @@ -40,10 +40,10 @@ const getDateTimeFormat = (timezone, options = {}) => { const localeStringifierCache = {} const getLocaleStringifier = (timezone) => { let localeStringifier = localeStringifierCache[timezone] - if(!localeStringifier) { + if (!localeStringifier) { localeStringifier = new Intl.DateTimeFormat('en-US', { ...dateTimeFormatDefaults, - timeZone: timezone, + timeZone: timezone }) localeStringifierCache[timezone] = localeStringifier }