Hi!

When I use this timezone file (http://www0.wgboome.org/zoneinfo-TAI.tar.xz), and
when I send an email with /bin/mail at 2022-07-28T04:48:54+00:00:37,
then s-mailx writes:
Date: Thu, 28 Jul 2022 04:48:54 +0000

Workaround: I wrote I wrapper, which seems to help...

# cat /bin/mail
#!/bin/sh
TZ=UTC /bin/mail,orig $@

Can u fix it somehow inside the binary?

Maybe 2 further timezone offset digits are compliant?

Or s-mailx just writes the timezone name (in this case "TAI" without brackets) 
and omits the "%z"?

Or s-mailx changes the timezone to UTC internally, when it detects that 
gmtoff%60 is not zero?
Btw: That is what exim does (in my understanding), since i pointed it out...

Thx.

Bye
Arne

Reply via email to