g_mime_message_set_date() and g_mime_message_get_date() and g_mime_utils_header_decode_date() fail for TAI timezone
Hi!
When I use this timezone file, and when I send an email @1658946095 (date -d@1658946095
= "Wed Jul 27 18:21:45 TAI 2022"), balsa
says, that the timestamp is "2022-07-27T18:22:12TAI" (format: %FT%T%Z).
balsa
uses g_mime_message_set_date/g_mime_message_get_date/g_mime_utils_header_decode_date
().
It seems like these functions do not behave like date(1), because: They just ignore the fractions of a minute (% 60) in tm_gmtoff.
Can you somehow fix it? I do not know why these functions do that... I just wanted to avoid those annoying leap seconds (once I thought that the crystal in my self-tinkered USB sensor phalanx is broken, when i woke up in the morning...)...
PS: Here is my bug report in the balsa issues list...
Thx.
Bye
Arne
Edited by Arne Wörner