[Bug ada/122085] Day_Of_Week returns wrong day
ebotcazou at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 29 06:57:41 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122085
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebotcazou at gcc dot gnu.org
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Here's what I get with GCC 11.4:
2025 -- WEDNESDAY
2020 -- WEDNESDAY
2019 -- TUESDAY
2018 -- MONDAY
2017 -- SUNDAY
But I'm in Paris' timezone and I presume that you are not. When you're using
Ada.Calendar.Formatting, you need to specify the Time_Zone.
More information about the Gcc-bugs
mailing list