[flang-commits] [flang] [llvm] [flang-rt] Add implementation for date_and_time on Windows (PR #190174)
David Truby via flang-commits
flang-commits at lists.llvm.org
Thu Apr 2 07:47:02 PDT 2026
DavidTruby wrote:
> Bumping the supported windows version seems okay to me (I think you said the alternative was very imprecise time values?) but please wait for approval from somebody outside of Arm before merging
The alternative is having the time only be in millisecond accuracy, and having the time zone calculated incorrectly. As I understand it the deprecated function from older versions of Windows calculates DST statically for each time zone, moving on a fixed Sunday each year, which would break the calculation for countries that don't use such static rules for DST, e.g. [Morocco](https://www.timeanddate.com/time/zone/morocco) where DST is dependent on the dates of Ramadan.
https://github.com/llvm/llvm-project/pull/190174
More information about the flang-commits
mailing list