converting Date: header field to local timezone in pager?

2000-05-17 Thread David Roche

I've searched all over the docs, and can't figure out how to get the pager to
display all Date: header fields in time converted to the local timezone.  Is
this possible?

In other words, some mails from the UK dispay dates like this:
Date: Wed, 17 May 2000 11:09:03 +0100
While mails from the US West Coast (my local timezone) display like this:
Date: Wed, 17 May 2000 07:51:46 -0700 (PDT)

When displaying these two mails, I'd like to see:
Date: Wed, 17 May 2000 03:09:03
Date: Wed, 17 May 2000 07:51:46

Or, better yet:
Date: Wed, 17 May 2000 03:09:03 (11:09:03 +0100)
Date: Wed, 17 May 2000 07:51:46 (07:51:46 -0700 (PDT))

How can I accomplish this?

Thanks,
David Roche




Re: converting Date: header field to local timezone in pager?

2000-05-17 Thread David Champion

On 2000.05.17, in [EMAIL PROTECTED],
"David Roche" [EMAIL PROTECTED] wrote:
 I've searched all over the docs, and can't figure out how to get the pager to
 display all Date: header fields in time converted to the local timezone.  Is
 this possible?

This is not exactly what you describe below, but it achieves a similar
effect:
set pager_format="%S%T %C: %-16.16n [%[%y/%m/%d %H:%M:%S %Z]] %s"

The "%[%y/%m/%d %H:%M:%S %Z]" is a date format string.

 In other words, some mails from the UK dispay dates like this:
 Date: Wed, 17 May 2000 11:09:03 +0100
 While mails from the US West Coast (my local timezone) display like this:
 Date: Wed, 17 May 2000 07:51:46 -0700 (PDT)
 
 When displaying these two mails, I'd like to see:
 Date: Wed, 17 May 2000 03:09:03
 Date: Wed, 17 May 2000 07:51:46
 
 Or, better yet:
 Date: Wed, 17 May 2000 03:09:03 (11:09:03 +0100)
 Date: Wed, 17 May 2000 07:51:46 (07:51:46 -0700 (PDT))
 
 How can I accomplish this?
 
 Thanks,
 David Roche

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago