Pádraig Brady <[email protected]> writes: > On 12/10/2025 06:34, Collin Funk wrote: >> This patch adds a test that the 'date' command uses the 12-hour clock or >> 24-hour clock depending on the current locale. > > That test is testing the locale definitions as much as date(1), > so I suspect it would give false failures on various systems. > > You could correlate with `date +"$(locale date_fmt)"` I suppose > (assuming `locale date_fmt` is supported by the system). > > I suppose you could
I was assuming that European and American locales use the 12-hour or 24-hour clock correctly. For other parts of the date format I expect a difference depending on the operating system, otherwise I would have checked them as well. Collin
