From: joea- l. <joe...@j4...> - 2022-01-30 16:37:28
|
Thanks for the reply. The latter part of your post was difficult for me to comprehend. However, I believe the issue is related to how fetchmail deals with the date/time as by altering the environment the daemon "runs in", the time stamp was altered. But, in line below, I will attempt to address your questions: > What platform? Opensuse 15.2 (Carlos mentioned 15.3, but that was a test VM I spun up to compare the vendor supplied rendition of fetchmail "as installed" to my own setup. That bought up some other questions I may address in the appropriate forum. > $ uname -a Linux AAAAAA 5.3.18-lp152.87-default #1 SMP Sun Aug 8 21:53:57 UTC 2021 (44d702a) x86_64 x86_64 x86_64 GNU/Linux (AAAAAA replaces what I took to be the host name) > > What are the defaults? > > $ env - locale > $ env - locale -k d_t_fmt > $ locale > $ locale -k d_t_fmt locale LANG=POSIX LC_CTYPE=en_US.UTF-8 LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL= locale -k d_t_fmt d_t_fmt="%a %b %e %H:%M:%S %Y" > The leading zero "03 PM" seems unusual at first sight, > perhaps check if it is platform specific... > %0* GNU libc extension. Explicitly specify zero for padding. As mentioned changing the fetchmail running environment as shown below in a snippet of my systemd fetchmail unit file gives me a 24 hr format. There may be other ways to address the format without changing the "language" but I am currently not aware of them. [Service] Type=simple . . . Environment=LC_TIME=en_GB.UTF-8 User=fetchmail Group=fetchmail . . . joe a. |