Skip to content

Commit

Permalink
Updated package name
Browse files Browse the repository at this point in the history
  • Loading branch information
keithwillcode committed Feb 5, 2024
1 parent 3b6f083 commit ee4bc9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/plugin/timezone/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit ee4bc9c

Please sign in to comment.