Date fails on dd/mm/yyyy
Peter Flynn
peter at silmaril.ie
Sun Jan 28 22:20:43 UTC 2024
On 28/01/2024 15:35, Loïc Grenié wrote:
> On Sun Jan 28th, 2024 at 12:01, Peter Flynn wrote:
>>
>> Does anyone know if the date(1) utility will ever be updated to
>> accept a date in non-American dd/mm/yyyy order.
> > coreutils 9.4.3, date -d dd/mm/yyyy understands mm/dd/yyyy (american
> style). I seriously doubt it will ever be changed. You'll have to
> adapt: either write a filter
Already did that :-)
> or change your output (yyyy/mm/dd is not that bad
Impossible, dd/mm/yyyy is mandated by the government department this is
for, because it's the format most people here expect when asked for a
date on a form.
Thanks for the suggestions
Peter
More information about the ubuntu-users
mailing list