From 8d01d29d77de30d01b3118584cc3ee458628ab36 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 3 Sep 2024 11:34:11 +0200 Subject: [PATCH] doc: Mention a gmtime_r problem. * doc/posix-functions/gmtime_r.texi: Mention "UTC" vs. "GMT". --- ChangeLog | 5 +++++ doc/posix-functions/gmtime_r.texi | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index f45cb8ed91..c90b8a957d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2024-09-03 Bruno Haible + + doc: Mention a gmtime_r problem. + * doc/posix-functions/gmtime_r.texi: Mention "UTC" vs. "GMT". + 2024-09-02 Bruno Haible vma-prot tests: Strengthen test. diff --git a/doc/posix-functions/gmtime_r.texi b/doc/posix-functions/gmtime_r.texi index f49547595b..6474b9151a 100644 --- a/doc/posix-functions/gmtime_r.texi +++ b/doc/posix-functions/gmtime_r.texi @@ -23,4 +23,8 @@ Portability problems not fixed by Gnulib: On some platforms, this function yields incorrect values for timestamps before the year 1: MacOS X 10.5, Solaris 11.3. +@item +This function sets the field @code{tm_zone} to @code{"GMT"} +instead of @code{"UTC"} on some platforms: +glibc, NetBSD, OpenBSD, Minix, Cygwin, Android. @end itemize -- 2.39.5