-
Notifications
You must be signed in to change notification settings - Fork 837
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get time depending upon long form time zone name #890
Comments
This should really be in the list of timezones |
India is a pretty large part of the world. Don't know why this isn't already included? Voting +1 for getting this added. |
@siosism This issue isn't about adding data for India; that's already available by using the id From what I can see, this issue is about getting existing data by using different input strings, effectively as aliases. Unfortunately, as detailed in #760 (comment), these long-form names aren't available in the IANA time zone database that Moment Timezone relies on. Partly this is because the names change per locale. For example:
To get this data into Moment Timezone correctly would require integrating the Unicode Common Locale Data Repository (CLDR). This is not a simple task, and my guess is it's way out of scope for the maintenance-only status of this project. |
If you insist, just use the moment.tz.link feature and add aliases yourself (for your project), just don't expect us to maintain such a list. |
Can we have the functionality to use the full timezone name (
Eastern Standard Time
,India Standard Time
...etc)?moment.tz('India Standard Time')
for UTC+5:30 and so on.The text was updated successfully, but these errors were encountered: