From 56edd03f8a3bd6f482fa0f521d900fedef00dead Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 7 Feb 2024 16:57:15 +0100 Subject: [PATCH] nstrftime: Fix typo in documentation. Reported by Tim Rice . * lib/strftime.h (nstrftime): Fix typo in comment. --- ChangeLog | 6 ++++++ lib/strftime.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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. -- 2.47.3