Replies: 2 comments 1 reply
-
DateTime information needs to be specified in the datetimeFormats option in vue-i18n. DatetimeFormat option, which has the same options as Intl.DateTimeFormat. DatetimeFormat. After specifying that option, you can use |
Beta Was this translation helpful? Give feedback.
-
I think that date and time info is taken from browser / system. If I install for example Kazakh language on my machine then "$d(my_date, 'short')" will work in Kazakh. Will check and report here. |
Beta Was this translation helpful? Give feedback.
-
Of three languages - English, Russian, Kazakh, only two show correct date.
English and Russian dates are displayed correctly, but Kazakh dates are shown in English.
How can I add Kazakh dates support?
Kazakh locale short name is 'kz'
And I wonder where is all date specific translations are stored? How to manage them?
Thanks
I use Vuejs.3 plus TypeScript
Inside Vue templates I use following code:
$d(my_date, 'short')
Main.ts
dateTimeFormats.ts
Beta Was this translation helpful? Give feedback.
All reactions