[exim-dev] [Bug 2956] util to convert message id to human-re…

Top Page
Delete this message
Reply to this message
Author: admin
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 2956] util to convert message id to human-readable time
https://bugs.exim.org/show_bug.cgi?id=2956

--- Comment #14 from Andrew Aitchison <exim@???> ---
> --- Comment #12 from Jeremy Harris <jgh146exb@???> ---
> Looking good. One issue in timezone handling:
>
> $        eximdir/exim_msgdate -C /data/jgh/git/exim/test/test-config 1pEPHo-005xgk-2e
> 2023-01-08 06:36:04.082000 GMT
> $ TZ=PDT eximdir/exim_msgdate -C /data/jgh/git/exim/test/test-config 1pEPHo-005xgk-2e
> 2023-01-08 06:36:04.082000 PDT


Do you have a PDT zoneinfo file ?
I don't but do have PST8PDT, and

$ TZ=PST8PDT ~eximtest/git/Exim/exim/src/build-Linux-x86_64/exim_msgdate
1pEPHo-005xgk-2e
2023-01-07 22:36:04.082000 PST

This is going to bite other users, so I check that the environment variables in
man
tzset are sane. With patch 1437 (as well as 1436) I now get

$ TZ=PDT ~eximtest/git/Exim/exim/src/build-Linux-x86_64/exim_msgdate
1pEPHo-005xgk-2e
Cannot read timezone file /usr/share/zoneinfo/PDT (from TZDIR/TZ)
        'man tzset' may help.
2023-01-08 06:36:04.082000 PDT


--
You are receiving this mail because:
You are on the CC list for the bug.