Closed ExpertNugget closed 4 months ago
I wanted to suggest this as well...
DST is (unfortunately) still a major thing in a large part of the world.
Most OSs will allow you to pull current local DST state, but DST dates and offsets unfortunately vary across the world. You'd probably need to import the TZDATA file and use the generic naming conventions (ie 'CET', 'EST' and 'America/Chicago' or 'Europe/Amsterdam') instead of just hours and minutes...
This could be part of #20 and do it all at once...
there are only 13 different regions that do dst could just hardcode their times and have a dst dropdown to pick one if its a region that has dst. would be alot simpler yet still get the function across. https://en.wikipedia.org/wiki/Daylight_saving_time_by_country like there all consistent with their start and end dates. would be nice to see
the Intl API now handles this in 1.1.0, dependent on your discord locale.
Addon
Timezones
What happened?
Ability to set a start and end date for DST
What Discord version do you have this issue on?
No response
Logs
No response
Code of Conduct