Re: how to log date/time in daemon mode?

Ralph Corderoy <[email protected]>
Newsgroups gmane.mail.fetchmail.user
Message-ID <[email protected]>
Hi Gene,

> > > > >    fetchmail [2018/09/29 17:04:41]: 2 messages for ...
> > >
> > > And whats wrong with the above format? And since I know thats my
> > > machines local time in a valid 24 hour format, I do not see any
> > > ambiguity.
>
> And that is essentially the same with an added -0400 which is the
> local EDT time zone offset from GMT.

It is still ambiguous.  :-)

    $ TZ=America/New_York date -d 2018-11-04T05:30:00Z +'%Y/%m/%d %H:%M:%S'
    2018/11/04 01:30:00
    $ TZ=America/New_York date -d 2018-11-04T06:30:00Z +'%Y/%m/%d %H:%M:%S'
    2018/11/04 01:30:00
    $

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.