From 5ef6dc308691b906a75b5b8b03bcc10b8f10e600 Mon Sep 17 00:00:00 2001 From: majdkhasib <102681670+majdkhasib@users.noreply.github.com> Date: Mon, 31 Oct 2022 06:04:52 +0200 Subject: [PATCH] fix(datetime): support all key format object (kazupon#1571) (#1572) --- src/util.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/util.js b/src/util.js index cefe85b00..985bac885 100644 --- a/src/util.js +++ b/src/util.js @@ -25,6 +25,14 @@ export const numberFormatKeys = [ ] export const dateTimeFormatKeys = [ + 'dateStyle', + 'timeStyle', + 'calender', + 'localeMatcher', + "hour12", + "hourCycle", + "timeZone", + "formatMatcher", 'weekday', 'era', 'year', @@ -33,7 +41,7 @@ export const dateTimeFormatKeys = [ 'hour', 'minute', 'second', - 'timeZoneName' + 'timeZoneName', ] /**