Skip to content

Commit

Permalink
refactor: getWeekInfo polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
bart-krakowski committed Jul 4, 2024
1 parent f80a77e commit ffebdc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"email": "[email protected]"
},
"main": "dist/index.js",
"version": "1.0.3",
"version": "1.0.4",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
6 changes: 1 addition & 5 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@
weekInfoData[locale.split('-')[0]] ||
weekInfoData['default']

return {
firstDay: match?.firstDay,
weekend: match?.weekend,
minimalDays: match?.minimalDays,
}
return match
}
})
}
Expand Down

0 comments on commit ffebdc3

Please sign in to comment.