Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
proposal: time: add enumeration for locations #36278
Please give some examples of what you would like to see. Thanks.
As far as I can see the list of IANA timezone names is quite long and subject to regular change: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones .
The problem is that we read timezones data from the system database, and we support the timezones names and abbreviations we read from the system... So if, for example, we include
And what happens if a name is removed from the DB? We can't remove it from the enum without breaking backward compatibility.
Yes, you are right, there are tradeoffs in both side, I just added this issue for discussion, I wanted to know other people's opinion about what was better