Collin Funk <collin.fu...@gmail.com> writes: >> + case $(date --iso-8601=hours) in >> ++ date --iso-8601=hours >> + fail=1 >> + case $(date --rfc-3339=date) in >> ++ date --rfc-3339=date >> + fail=1 > > My guess is that `date ...` or a separate assignment will be needed > here. Will experiment later.
Scratch that, I read the logs wrong. The issue is that they return the non-C locale date. The code we use when --iso-8601 or --rfc-3339 is in use is the following: if (use_c_locale) setlocale (LC_TIME, "C"); bool ok = show_date (format, when, tz); I wonder if the issue is the cached_localename in gl_locale_name_posix_unsafe of Gnulib's lib/localename-unsafe.c. Maybe it causes strftime to read the old locale when setlocale (LC_TIME, "C") was called. Hopefully I can debug this on the cfarm machine. Collin