From ee4bc9cfc3e2a713cced1f6d8ddecc07a2fd781b Mon Sep 17 00:00:00 2001 From: Keith Williams Date: Mon, 5 Feb 2024 12:33:45 -0300 Subject: [PATCH] Updated package name --- package.json | 2 +- src/plugin/timezone/index.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 }