[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Old timestamps in the future?
From: |
Eli Zaretskii |
Subject: |
Re: Old timestamps in the future? |
Date: |
Fri, 09 Dec 2022 17:01:29 +0200 |
> From: Gisle Vanem <gvanem@online.no>
> Date: Fri, 9 Dec 2022 15:38:08 +0100
>
> Paul Smith wrote:
>
> > ... facilities that you don't specify (Cygwin? MinGW? WSL?)
>
> I'm using Cygwin as my POSIX toolbox.
>
> > But, note that touch writes timestamps in the current timezone by
> > default. It could be that your timezone (which you also didn't
> > specify) makes a difference, when you are talking about timestamps
> > right at the edge of the epoch.
> >
> > If you force UTC, for example:
> >
> > $ TZ=UTC make
> >
> > does it make a difference in behavior?
>
> That was it; i.e. no 'has modification time'.
It could mean that your timezone didn't have the date/time you used,
because the Epoch starts at 1970-01-01:00:00 UTC.