]> git.ipfire.org Git - thirdparty/coreutils.git/commit
date: force a Gregorian calendar for options --iso-8601 and --rfc-3339
authorBruno Haible <bruno@clisp.org>
Thu, 17 Jul 2025 14:29:05 +0000 (16:29 +0200)
committerPádraig Brady <P@draigBrady.com>
Mon, 21 Jul 2025 20:16:03 +0000 (21:16 +0100)
commitc3cea90de3634803fae46650ea74af1c3825e36b
treeeb535a800c8ce2464c0e633e184c0bc9726fb0ad
parent083f89528ed77d91fd780c5fc81652aef319934b
date: force a Gregorian calendar for options --iso-8601 and --rfc-3339

* src/date.c (show_date_helper): Add a use_c_locale parameter.
(batch_convert): Add a format_in_c_locale parameter.
(main): Set format_in_c_locale to true if any of the options --rfc-3339,
--iso-8601, -R is seen.
src/date.c