Skip to content

Commit

Permalink
fix(datetime): support all key format object (#1571) (#1572)
Browse files Browse the repository at this point in the history
  • Loading branch information
majdkhasib authored Oct 31, 2022
1 parent c45cabd commit 5ef6dc3
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ export const numberFormatKeys = [
]

export const dateTimeFormatKeys = [
'dateStyle',
'timeStyle',
'calender',
'localeMatcher',
"hour12",
"hourCycle",
"timeZone",
"formatMatcher",
'weekday',
'era',
'year',
Expand All @@ -33,7 +41,7 @@ export const dateTimeFormatKeys = [
'hour',
'minute',
'second',
'timeZoneName'
'timeZoneName',
]

/**
Expand Down

0 comments on commit 5ef6dc3

Please sign in to comment.