Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
1.8k views
Welcome To Ask or Share your Answers For Others

1 Answer

From here:

Oh, I remember this. Asia/Calcutta was used in the tz database until several years ago. Now, Asia/Kolkata replaces this and Asia/Calcutta is in backward file. ICU/CLDR has "stable" ID policy - so ICU/CLDR still uses "Asia/Calcutta" as a "canonical time zone ID" and "Asia/Kolkata" as an alias. So, in ICU, both Asia/Calcutta and Asia/Kolkata work fine - but when you try to get canonical ID via API, it will be "Asia/Calcutta", instead of "Asia/Kolkata"

So it is an alias and not an obsolete name.

It is actually a duplicate of this one


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share

548k questions

547k answers

4 comments

86.3k users

...