[tz] [PATCH] Port better to POSIX 'touch'

Brian Inglis Brian.Inglis at Shaw.ca
Wed Jul 26 17:36:33 UTC 2023

On 2023-07-24 16:55, Paul Eggert wrote:
> On 2023-07-24 13:59, Brian Inglis via tz wrote:
>> Would the built-in ISO format %cI e.g. 2023-07-24T12:44:34-07:00 not be clearer:
> POSIX 'touch' doesn't support that format.

Thanks Paul,

I was not aware most BSD derived implementations and POSIX supported -d only 
with that ISO variant: you have spoiled us with coreutils date-time support ;^>

I use (Cygwin coreutils) touch to back/future date historical, expected, and 
expiry dates on family pics, documents, and files, and many MS GUI interfaces 
and utilities seem to be unhappy using the full range of NTFS file date-times 
1601-01-01..30828-09-14! ;^>

Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

More information about the tz mailing list