So the EU is thinking about scrapping the DST and leave the decision to local government to decide to stay on winter time or summer time.
What does this means for existing code libraries and applications that deal with scheduling, timezone conversion etc?
Example,
Suppose currently depends on DST, my country time can be +8 UTC (summer) or +7 UTC (winter). After the EU change, my country time permanently +8 UTC.
If I have a schedule to send me an email everyday at 9:00:00 am (local time), I might save 9am in the database, then check
if(Date.utcNow().format(H:i:s, MY_TIMEZONE) == 09:00:00) sendEmail();
Will this code still work regardless of summer or winter after the EU change?
Alternatively, if I store in UTC 1:00:00 am (+0), then
if(Date.utcNow().format(H:i:s, UTC) == 01:00:00) sendEmail(); // actually this will NOT send at the same local time everyday, because I expect it to send at summer or winter time depending on DST.
Will this code automatically send at the new local time summer permanently after the EU change?
I assume someone will fix the time servers, but on my part do I need to update any code libraries and application logic?