Skip to content

Commit

Permalink
tests(datetime): add a partial match test for week-of-month
Browse files Browse the repository at this point in the history
  • Loading branch information
mildgravitas committed Mar 16, 2022
1 parent 874e818 commit 3edf127
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,23 @@
"en": "week 53 of 2002"
}
}
},
{
"description": "Partial match for: MMMMWEEEE -> MMMMW -> 'week' W 'of' MMMM",
"input": {
"value": "2002-12-31T08:25:07.000",
"options": {
"components": {
"month": "long",
"week": "week-of-month",
"weekday": "long"
}
}
},
"output": {
"values": {
"en": "week 1 of December"
}
}
}
]

0 comments on commit 3edf127

Please sign in to comment.