Eyal Oren
2007-Oct-11 15:41 UTC
[sup-talk] displaying message timestamp in different timezones
Hi, When reading emails from people in other timezones, Mutt offers the option to display the message timestamp in either the sender''s or the receiver''s timezone. Does sup have a similar option, or how does it deal with timezones? It seems that timezones are not considered and that the sent time is simply shown without computing the equivalent time in my local timezone. Doing so is confusing, and, as a side-effect, emails are ordered incorrectly (emails sent 5 minutes ago in a US timezone are thought to be older than emails sent two hours ago in a EU timezone). -eyal
William Morgan
2007-Oct-27 19:22 UTC
[sup-talk] displaying message timestamp in different timezones
Excerpts from Eyal Oren''s message of Thu Oct 11 08:41:46 -0700 2007:> When reading emails from people in other timezones, Mutt offers the > option to display the message timestamp in either the sender''s or the > receiver''s timezone. > > Does sup have a similar option, or how does it deal with timezones? > It seems that timezones are not considered and that the sent time is > simply shown without computing the equivalent time in my local > timezone.Sup uses Time.parse, which is supposed to take into account the timezone, assuming the date is in proper rfc822 format. I haven''t spent any time on this than the bare minimum to get it working, though, so I''m not terribly surprised it''s doing something wrong. What it should do is convert everything to the local timezone, and never display any date that isn''t in the local timezone. (Except when viewing the raw headers, of course). I''ve added this to the TODO, tentatively for 0.3. -- William <wmorgan-sup at masanjin.net>