Skip to content

Commit

Permalink
fix: add test case
Browse files Browse the repository at this point in the history
  • Loading branch information
tuanphamcybozu committed Jul 10, 2023
1 parent 36ecad2 commit c911da6
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ const patterns: Array<{
input: { type: "DATE", value: "2012-01-11" },
expected: { value: "2012-01-11" },
},
{
input: { type: "DATE", value: "2012/01/11" },
expected: { value: "2012-01-11" },
},
{ input: { type: "DATE", value: "" }, expected: { value: "" } },
{ input: { type: "TIME", value: "11:30" }, expected: { value: "11:30" } },
{ input: { type: "TIME", value: "" }, expected: { value: "" } },
Expand Down

0 comments on commit c911da6

Please sign in to comment.