* lib/strftime.c (__strftime_internal): Fix typo in my previous commit.
+2024-06-05 Bruno Haible <bruno@clisp.org>
+
+ nstrftime: Make %c work on native Windows again, part 2.
+ * lib/strftime.c (__strftime_internal): Fix typo in my previous commit.
+
2024-06-05 Paul Eggert <eggert@cs.ucla.edu>
nstrftime: don’t assume <locale.h>
# if defined _MSC_VER
const wchar_t *locale = _wsetlocale (LC_TIME, NULL);
is_c_locale =
- (wstrcmp (locale, L"C") == 0 || wstrcmp (locale, L"POSIX") == 0);
+ (wcscmp (locale, L"C") == 0 || wcscmp (locale, L"POSIX") == 0);
# else
const char *locale = setlocale (LC_TIME, NULL);
is_c_locale =