]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Ada: Fix incorrect specification of GNAT.Calendar.Time_IO "%c"
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 20 Oct 2025 21:57:01 +0000 (23:57 +0200)
committerEric Botcazou <ebotcazou@adacore.com>
Mon, 20 Oct 2025 22:00:32 +0000 (00:00 +0200)
The timezone is not printed by the "%c" specifier.

gcc/ada/
PR ada/32318
* libgnat/g-catiio.adb (Image_Helper) <'c'>: Fix comment.

gcc/ada/libgnat/g-catiio.adb

index 531070616a2260084ceb3efb763cacb94a001c83..d229b3ba61b509fe949b284a07236bfbc073cdfc 100644 (file)
@@ -515,7 +515,7 @@ package body GNAT.Calendar.Time_IO is
                   Result := Result &
                     Image (Month_Name'Image (Month_Name'Val (Month - 1)));
 
-               --  Locale's date and time (Sat Nov 04 12:02:33 EST 1989)
+               --  Locale's date and time (Sat Nov 04 12:02:33 1989)
 
                when 'c' =>
                   case Padding is