On 2010-01-06, Ravi Uday <raviu...@gmail.com> wrote:

> On Wed, Jan 6, 2010 at 1:27 PM, Patrick Ben Koetter <p...@state-of-mind.de> 
> wrote:
> > * Ravi Uday <raviu...@gmail.com>:
> >> Kyle,
> >>
> >> This didn't work.
> >>
> >> The mail header shows :
> >>
> >> Date: Tue, 5 Jan 2010 21:59:44 -0800
> >>
> >> but my laptop's time is : Jan-6th-2010 11:38 AM.
> >
> > Did you source the ~/.bashrc after editing it?

> Yes I did it.
> On the linux server where i run mutt :
> 
> bash-3.00$ date
> Wed Jan  6 08:44:40 IST 2010
> 
> Now from within mutt, if I check a recent mail's header, I see this :
> ..
> Date: Wed, 6 Jan 2010 00:44:27 -0800
> ..
> 
> I just have
> export TZ=IST
> in my .bashrc.
> 
> Both the dates(from bash and from within mutt) are wrong
> when I see from my windows m/c.
> It rightly shows - Jan-6-2010 2:15 PM ! whichis the correct time now

On a Red Hat system I just tried, TZ=IST doesn't work for me,
either, but TZ=Asia/Calcutta does.  The time zone names are in
/usr/share/zoneinfo.

HTH,
Gary


Reply via email to