[sup-talk] displaying message timestamp in different timezones

William Morgan wmorgan-sup at masanjin.net
Sat Oct 27 15:22:51 EDT 2007


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>


More information about the sup-talk mailing list