Re: RFC: should GMime use GDateTime instead of time_t?
- From: andré <andr55 laposte net>
- To: "balsa-list gnome org" <balsa-list gnome org>
- Subject: Re: RFC: should GMime use GDateTime instead of time_t?
- Date: Sun, 26 Mar 2017 13:07:31 -0400
Albrecht Dreß a écrit :
Hi Jeff:
Am 26.03.17 14:50 schrieb(en) Jeffrey Stedfast via balsa-list:
Currently, g_mime_message_get_date() is somewhat awkward in that it
returns a time_t but also has a int *tzone parameter that gets set to
the timezone offset.
I wonder if this interface actually works for all cases, as the docs for
2.6 say "int *tz_offset: pointer to timezone offset (in +/- hours)".
But some time zones do not have an integral offset relative to utc (e.g.
India = 5 hours 30 minutes - for ~1.2 * 10**9 people!).
It is not only India, and not only half hour.
Burma/Myanmar = +6:30 ; Nepal = +5:45 ; Afghanistan = +4:30
Iran = +3:30 ; Newfoundland, Canada = -3:30
(Only another ~ 2 * 10**8 people)
--
André
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]