-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Wednesday, January  6 at 10:57 PM, quoth Ravi Uday:
>It is still the same.
>
>on linux :
>
>bash-3.00$ date
>Wed Jan  6 17:24:25 Asia/Kolkata 2010
>bash-3.00$
>
>On a new email, inside mutt the header shows it as :
>
>Date: Wed, 6 Jan 2010 09:24:20 -0800

Hrm. I would have thought it would do:

     Date: Wed, 6 Jan 2010 09:24:20 +0530

Because what mutt SHOULD be doing is printing the Date header in the 
local time (according to your timezone) and then specify the timezone 
via the standard offset (which, for IST, is +0530).

What mutt does to generate the Date header is to call the system 
function localtime() for the time and date---that SHOULD produce the 
same output as the `date` command at the commandline.

I do note that mutt's source says it's "optimized" for negative 
timezone offsets, but I don't know enough to be able to tell if its 
calculating positive timezone offsets correctly---it may not be.

~Kyle
- -- 
The important work of moving the world forward does not wait to be 
done by perfect men.
                                                        -- George Eliot
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iQIcBAEBCAAGBQJLRNjvAAoJECuveozR/AWe86YQAK13Y9HHD8TAta3T5o8I7Uvr
PkuApIsMHGFBS9fzZXFwMuhGn1GFhHLN07bWHOERyzYIlyslIEAgnLeYOekce15f
dWrAG8kZXw3ix+tZWDm5z5fNYKSBcNdHKJxOI5kaL+rqOv6dgxc6w6wMfF0xFOvP
cm/f+kZ6q1ZY+fjmiOyr4nbWqOfjtzTCjW5ixIQLAJphdzd9fPZgK5fJUWV5ph9A
fizldLWTM5ORnNd4tlNLxH1PFew6CxJM2WTGBjzErCqeYqKCcYVzXt7hPdk4xz61
DZNC0rNXQaU18BGJhizIbu9QWHAQrCTVl9zRdlVbmZ64FDAkY5ycu5mjqMPSWUko
s3Yehst84MdiH9X8iD1Pw4+31+R6wGzBSGOqI8hiJ0rUmiMkagKk5r6/4w5BDWMv
P0C/WcosLrL1cxx/ILRtPvkKAuOQHVtRWm2J6TaMygtaKKU5GRWQlX2BklVfHyne
YaVuuqr1x7M0BP/h9wWedPNZsm7qg3Tcf171y9v9cIUGo4AWNY2Mu2/PeKlAnC4O
SgUBZJ3ooEv8GWho/C+IEJ+01g6iOWkyL575oBnUAjYpysySkLWIIemInurUDQzm
LDwzGo4Tmh6+c0T5nmFPhhnePfqzknAC5OSvAt8gwO5MMTgCb4ooKG5emoISV9l3
w7a1NEzRBfBExvj/jCzF
=Vto5
-----END PGP SIGNATURE-----

Reply via email to