On Tue, Jan 05, 2010 at 12:20:49PM -0600, Kyle Wheeler wrote: > On Tuesday, January 5 at 11:42 PM, quoth Ravi Uday: > >Hi, > > > >how to change the date and time format from > >PST to IndianStandardTime (IST) in .muttrc > > Add this to your ~/.bashrc: > > export TZ=IST
Time zones cuks. ;-) $ unset TZ $ export TZ $ date Tue Jan 5 14:00:40 EST 2010 $ TZ=IST $ date Tue Jan 5 19:00:46 UTC 2010 Huh? UTC?! $ TZ=PST $ date Tue Jan 5 19:00:51 UTC 2010 Weird (only it's not...) $ TZ=PST8PDT $ date Tue Jan 5 11:00:58 PST 2010 And to get IST, you need this: $ TZ="Asia/Kolkata" $ date Wed Jan 6 00:31:04 IST 2010 -- Derek D. Martin http://www.pizzashack.org/ GPG Key ID: 0xDFBEAD02 -=-=-=-=- This message is posted from an invalid address. Replying to it will result in undeliverable mail due to spam prevention. Sorry for the inconvenience.
pgpPeuusY6g6d.pgp
Description: PGP signature