From: Bruno Haible Date: Wed, 7 Feb 2024 15:57:15 +0000 (+0100) Subject: nstrftime: Fix typo in documentation. X-Git-Tag: v1.0~456 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=56edd03f8a3bd6f482fa0f521d900fedef00dead;p=gnulib.git nstrftime: Fix typo in documentation. Reported by Tim Rice . * lib/strftime.h (nstrftime): Fix typo in comment. --- diff --git a/ChangeLog b/ChangeLog index 24d9920e35..0f1fcb1b4a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-02-07 Bruno Haible + + nstrftime: Fix typo in documentation. + Reported by Tim Rice . + * lib/strftime.h (nstrftime): Fix typo in comment. + 2024-02-07 Bruno Haible nstrftime tests: Avoid test failures on DragonFly BSD. diff --git a/lib/strftime.h b/lib/strftime.h index 8fff11bec1..6e3dbf834c 100644 --- a/lib/strftime.h +++ b/lib/strftime.h @@ -26,7 +26,7 @@ extern "C" { LC_TIME category of the current locale. Uses the time zone __TZ. - If *__TP represents local time, _TZ should be set to + If *__TP represents local time, __TZ should be set to tzalloc (getenv ("TZ")). If *__TP represents universal time (a.k.a. GMT), __TZ should be set to (timezone_t) 0.