-
-
Notifications
You must be signed in to change notification settings - Fork 25
Closed
Labels
Status: Need More InfoLacks enough info to make progressLacks enough info to make progress
Description
Hi guys,
Firstly I want to send many many thanks to the team for your awesome project.
Second, I want to know how to format date time without hardcode:
- Currently, I use this code
this.$d(new Date(), 'short', 'vi-VN')in Vue methods's scope - My locale variable is:
this.$i18n.locale = 'vn' - I dont want hardcode 'vi-VN' value, so I try
this.$d(new Date(), 'short', this.$i18n.locale), but it not worked.
How could I make this code work so that I don't have to hardcode 'vi-VN' value?
Thank in advanced!
Metadata
Metadata
Assignees
Labels
Status: Need More InfoLacks enough info to make progressLacks enough info to make progress