Skip to content

Commit

Permalink
Merge branch 'main' of github.com:formkit/tempo
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-boyd committed Feb 13, 2024
2 parents a159828 + c5cad39 commit 810016f
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,6 +1,6 @@
{
"name": "@formkit/tempo",
"version": "0.0.4",
"version": "0.0.5",
"description": "The easiest way to work with dates in JavaScript and TypeScript.",
"type": "module",
"main": "dist/index.cjs",
Expand Down
4 changes: 2 additions & 2 deletions src/parse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function parse(
export function parse(
dateStrOrOptions: string | ParseOptions,
format: Format = "ISO8601",
locale = "en"
locale = "device"
): Date | never {
let partFilter: (part: Part) => boolean = () => true
let dateStr: string
Expand All @@ -39,7 +39,7 @@ export function parse(
;({
date: dateStr,
format = "ISO8601",
locale = "en",
locale = "device",
dateOverflow = "backward",
partFilter = () => true,
} = dateStrOrOptions)
Expand Down

0 comments on commit 810016f

Please sign in to comment.