Re: display local time inside email

2024-09-22 Thread Michael Kjörling
On 22 Sep 2024 10:20 -0500, from mutt-users@mutt.org (Ranjan Maitra via Mutt-users): > On Fri Sep20'24 08:42:12PM, (suppressed) wrote: > As you can see, both these times are in UTC, but the first time does > not even mention that. > > Anyway, what controls the display of t

display local time inside email

2024-09-22 Thread Ranjan Maitra via Mutt-users
Hi, On the main screen, I have my email time set to local time, and that is what shows. However, when I respond to it, the times are in UTC. Which is kind of inconvenient. For example, I am writing to an email: On Fri Sep20'24 08:42:12PM, (suppressed) wrote: > From: (suppressed) >

Re: Using UTC time in Date header

2021-05-15 Thread Joerg Dorchain
te header to my timezone. > it's attached. the local timezone is hardcoded (sorry) but > can be changed as needed. Something similiar, just with procmail/formail: You need Gnu date for this, sorry non-Posix features used. { #time in seconds since the epoch (to be rethought before Jan 19 20

Re: Using UTC time in Date header

2021-05-15 Thread raf
y US timezones that my brain is facile with the trivial > arithmetic for (i.e. US/Eastern, US/Central, US/Pacific, and I suppose > the rare US/Mountain). > > But when a header comes in UTC, I'd much rather convert it to local > time, especially so I don't h

Re: Using UTC time in Date header

2021-05-14 Thread Gregory Anders
On Fri, 14 May 2021 19:57 -0600, Gregory Anders wrote: For example, I am one of those (rare) US/Mountain time zones, so I know I just need to subtract 6 from any UTC time to get my local time (7 during DST). Of course I got these backwards: it's 6 during DST and 7 otherwise. Maybe I

Re: Using UTC time in Date header

2021-05-14 Thread Gregory Anders
I don't mean to invalidate your opinion, but I don't think using UTC universally is actually all that bad. Each individual person just needs to know their own personal UTC offset and then it's trivial to adjust. In my opinion, when everyone uses their own local time zone it

Re: Using UTC time in Date header

2021-05-14 Thread John Hawkinson
clients will convert everything to local time. To put it different, it's not so much that I don't want to the timezone math (although I don't really), it's that I am confident that the people I deal with do not. I'm sure your experience may be different, but those ar

Re: Using UTC time in Date header

2021-05-14 Thread John Hawkinson
astern, US/Central, US/Pacific, and I suppose the rare US/Mountain). But when a header comes in UTC, I'd much rather convert it to local time, especially so I don't have to think about how DST affects the offset. But also this is an issue for attributions. When I reply to someone, I want

Re: Using UTC time in Date header

2021-05-14 Thread Gregory Anders
On Sat, 15 May 2021 11:07 +1000, raf wrote: just create a shell function like this: mutt() { TZ=UTC /usr/bin/mutt "$@"; } I did discover this after asking my question, and it's an okay solution, but it has the side effect of changing timezones *everywhere* in Mutt, not just in the date hea

Re: Using UTC time in Date header

2021-05-14 Thread raf
On Fri, May 14, 2021 at 02:22:43PM -0600, Gregory Anders wrote: > Hi all, > > The Date: header that Mutt adds to my sent emails includes my time zone > offset. I would prefer to have the header present the time of my email in > UTC time (offset 0). I wasn't able to find a s

Using UTC time in Date header

2021-05-14 Thread Gregory Anders
Hi all, The Date: header that Mutt adds to my sent emails includes my time zone offset. I would prefer to have the header present the time of my email in UTC time (offset 0). I wasn't able to find a setting that controls this. In fact, I'm not sure how Mutt is getting my time z

Re: Index screen - could it feature time segments?

2020-08-04 Thread Derek Martin
On Tue, Aug 04, 2020 at 12:26:01AM +0300, Leho Kraav wrote: > One of the replies mentioned something about "tasteful" or similar. For > me, mail is not a fashion statement, it needs to get work done, so not > giving that taste argument much weight. > [...] > Other than that, haven't seen a any legi

Re: Index screen - could it feature time segments?

2020-08-03 Thread Leho Kraav
raw a > > > horizontal line between the times of Today, Yesterday, Last Week, 2 > > > weeks ago etc. like M$ OutLook it does. What you want to have, is an > > > additional column with some time indicator. Correct? > > > > Horizontal display-only lines are the

Re: Index screen - could it feature time segments?

2020-08-03 Thread Will Yardley
On Tue, Aug 04, 2020 at 12:26:01AM +0300, Leho Kraav wrote: > On Mon, Aug 03, 2020 at 05:08:25PM -0400, Josef 'Jeff' Sipek wrote: > > Alternatively, if you are accessing the mailboxes via IMAP, the server > > software may have a fancier mechanism. For example, Dovecot has virtual > > folders. >

Re: Index screen - could it feature time segments?

2020-08-03 Thread Kevin J. McCarthy
On Tue, Aug 04, 2020 at 12:26:01AM +0300, Leho Kraav wrote: My virtual inbox is actually a "last 2 days" view, but I would *still* like to have a segmentation "Today", "Yesterday", etc within this mail index screen. I also have a "last 30 days" folder, where segmentation would be even more us

Re: Index screen - could it feature time segments?

2020-08-03 Thread Felix Finch
On 20200803, Remco Rijnders wrote: Note that I am not passing judgement on your need for this functionality, but if it is an absolute requirement/deal breaker for you, then mutt might not be the tool to use here. I haven't been following this very deeply, but have two ideas. One: My $date_forma

Re: Index screen - could it feature time segments?

2020-08-03 Thread Remco Rijnders
haven't seen a any legit alternatives or arguments to convert this want into "OK I really don't need it after all". I think the dovecot alternative you use now, and/or using a tool like mairix (which I never used, but it seems you can use it to create time based virtual mailboxe

Re: Index screen - could it feature time segments?

2020-08-03 Thread Leho Kraav
On Mon, Aug 03, 2020 at 05:08:25PM -0400, Josef 'Jeff' Sipek wrote: > On Mon, Aug 03, 2020 at 16:23:03 -0400, Logan Rathbone wrote: > ... > > Another way of potentially achieving this may be to think outside the > > box -- or outside the index, in this case. > > > > Why not set up the MTA to deli

Re: Index screen - could it feature time segments?

2020-08-03 Thread Josef 'Jeff' Sipek
On Mon, Aug 03, 2020 at 16:23:03 -0400, Logan Rathbone wrote: ... > Another way of potentially achieving this may be to think outside the > box -- or outside the index, in this case. > > Why not set up the MTA to deliver mail into a mailbox called "Today" and > set up a daily cronjob to do furth

Re: Index screen - could it feature time segments?

2020-08-03 Thread Logan Rathbone
On Sun, Aug 02, 2020 at 06:24:24AM -0400, Remco Rijnders wrote: On Sun, Aug 02, 2020 at 12:24:35PM +0300, Leho wrote in <173ae7cb050.2742.b94389c50b70d4ef8bda8663b7428...@kraav.com>: Hi. I'm looking for a way to get mutt index to segment list display with Today, Yesterday, Last Week, 2 weeks ago

Re: Index screen - could it feature time segments?

2020-08-03 Thread Derek Martin
On Sun, Aug 02, 2020 at 12:24:35PM +0300, Leho Kraav wrote: > Hi. I'm looking for a way to get mutt index to segment list display with > Today, Yesterday, Last Week, 2 weeks ago etc separators. > > Feels like it should be technically possible, but I haven't been able to > find a configuration or a

Re: Index screen - could it feature time segments?

2020-08-02 Thread Leho Kraav
> additional column with some time indicator. Correct? Horizontal display-only lines are the goal. See right edge of this screenshot: https://lh3.googleusercontent.com/proxy/cVzlSH2JCHNJAM32g8NmKOISjkIPBCne27JLtzJd_fvRdV6dPu9S6IpPSiGFdoBgomT2HlybTi7RbxipyI3-jGn58jsvUDvcyA6xiWy-zUt3KglrjijxPsPUjqRIJw

Re: Index screen - could it feature time segments?

2020-08-02 Thread Remco Rijnders
ant to have, is an additional column with some time indicator. Correct? That's how I understood it, but I guess your interpretation might be more what Leho intended as they referred to time segments. In that case, I don't know of any way to do that in mutt. signature.asc Description: PGP signature

Re: Index screen - could it feature time segments?

2020-08-02 Thread Matthias Apitz
x27;re two weeks away from > >each other. > > I would guess it would look something like this: > > 115 r Two weeks ago Leho Kraav (5.4K) Index screen - could it feature > time segments? > 116 Yesterday Matthias Apitz ( 25) ├─> > > And it would sort

Re: Index screen - could it feature time segments?

2020-08-02 Thread Remco Rijnders
eks ago etc separators. ... In a threaded view, this would lead to the question, where an original post and its reply have to be placed if they're two weeks away from each other. I would guess it would look something like this: 115 r Two weeks ago Leho Kraav (5.4K) Index screen - could

Re: Index screen - could it feature time segments?

2020-08-02 Thread Matthias Apitz
On Sunday, 2 August 2020 11:24:35 CEST, Leho Kraav wrote: Hi. I'm looking for a way to get mutt index to segment list display with Today, Yesterday, Last Week, 2 weeks ago etc separators. Feels like it should be technically possible, but I haven't been able to find a configuration or a patch

Re: Index screen - could it feature time segments?

2020-08-02 Thread Remco Rijnders
On Sun, Aug 02, 2020 at 12:24:35PM +0300, Leho wrote in <173ae7cb050.2742.b94389c50b70d4ef8bda8663b7428...@kraav.com>: Hi. I'm looking for a way to get mutt index to segment list display with Today, Yesterday, Last Week, 2 weeks ago etc separators. Feels like it should be technically possible,

Index screen - could it feature time segments?

2020-08-02 Thread Leho Kraav
Hi. I'm looking for a way to get mutt index to segment list display with Today, Yesterday, Last Week, 2 weeks ago etc separators. Feels like it should be technically possible, but I haven't been able to find a configuration or a patch for this. Your thoughts?

Re: Using UTC as time zone in outgoing email headers

2019-07-24 Thread Paul Gilmartin
On 2019-07-24, at 12:31:23, Derek Martin wrote: > > On Wed, Jul 24, 2019 at 07:06:52AM +, Ryan Smith wrote: >> By default, mutt uses local or computer time zone in outgoing email full >> header, Date section. >> >> How to force mutt to use UTC as time zone

Re: Using UTC as time zone in outgoing email headers

2019-07-24 Thread Derek Martin
On Wed, Jul 24, 2019 at 07:06:52AM +, Ryan Smith wrote: > By default, mutt uses local or computer time zone in outgoing email full > header, Date section. > > How to force mutt to use UTC as time zone in all outgoing email headers? For what it's worth, this is probably

Re: Using UTC as time zone in outgoing email headers

2019-07-24 Thread John Long
Hi, I don't know the answer because I set all my devices to UTC. But I can suggest it's difficult to find all the places where your time zone is leaked so setting it to UTC or some misc. time zone is probably not a bad idea. /jl On Wed, 24 Jul 2019 07:06:52 + Ryan Smith wr

Using UTC as time zone in outgoing email headers

2019-07-24 Thread Ryan Smith
By default, mutt uses local or computer time zone in outgoing email full header, Date section. How to force mutt to use UTC as time zone in all outgoing email headers? set_hdr Date=? K9 Mail in Android has such option in privacy settings Hide Timezone, use UTC instead of local time zone. Ryan

Re: Can I use the OP's time zone in the time given on the $attribution line in a reply?

2017-01-19 Thread Ken Moffat
ut we are both on UTC +0 (you are probably in UTC, I'm in British non-summer time) so it doesn't actually prove anything. > . Note that this has converted his sending time to my time zone. This > seems to me somewhat discourteous. Is there any way I can configure my > mutt

Re: Can I use the OP's time zone in the time given on the $attribution line in a reply?

2017-01-19 Thread Mihai Lazarescu
ds my reply: On Thu, Jan 19, 2017 at 11:00:49 UTC, Joe Bloggs wrote: . Note that this has converted his sending time to my time zone. This seems to me somewhat discourteous. Is there any way I can configure my mutt (something in the $attribution value, perhaps?) so that the attribution

Can I use the OP's time zone in the time given on the $attribution line in a reply?

2017-01-19 Thread Alan Mackenzie
Note that this has converted his sending time to my time zone. This seems to me somewhat discourteous. Is there any way I can configure my mutt (something in the $attribution value, perhaps?) so that the attribution line would come out as: On Thu, Jan 19, 2017 at 12:00:49 +0100, Joe Bloggs

Re: specify time at which mutt sends a precomposed mail?

2016-02-03 Thread hymie
m wondering if there is any way during message composition in mutt to >specify at which time (eg. 3pm, 10mins later,...) at which an email will >actually be sent by mutt to the sendmail command? I would like to >draft emails but have them sent out at a later time automatically. > >Thanks for all ideas! >Peter

Re: specify time at which mutt sends a precomposed mail?

2016-02-03 Thread Michelle Konzack
Hello Peter, On 2016-02-03 11:52:22 Peter P. hacked into the keyboard: > I am wondering if there is any way during message composition in mutt to > specify at which time (eg. 3pm, 10mins later,...) at which an email will > actually be sent by mutt to the sendmail command? I would like t

specify time at which mutt sends a precomposed mail?

2016-02-03 Thread Peter P.
I am wondering if there is any way during message composition in mutt to specify at which time (eg. 3pm, 10mins later,...) at which an email will actually be sent by mutt to the sendmail command? I would like to draft emails but have them sent out at a later time automatically. Thanks for all

Re: Set time zone from folder-hook?

2014-12-24 Thread Ed Blackman
e means to show time as UTC. However the "date" program can build UTC dates, and mutt can use external programs to build configuration variables. [...] _If_ you went that way (for the index performance; as Bernard points out his approach invokes an outside script for every index line -

Re: Set time zone from folder-hook?

2014-12-18 Thread Cameron Simpson
On 18Dec2014 16:50, Bernard Massot wrote: On Thu, Dec 11, 2014 at 04:44:12PM +0100, Joachim Saul wrote: in one particular folder I collect messages for which I would like to display the date in the index as UTC. In all other folders I want to keep my local time zone. Dates in the index are

Re: Set time zone from folder-hook?

2014-12-18 Thread Bernard Massot
Hi Joachim, On Thu, Dec 11, 2014 at 04:44:12PM +0100, Joachim Saul wrote: > in one particular folder I collect messages for which I would like > to display the date in the index as UTC. In all other folders I > want to keep my local time zone. Dates in the index are built foll

Set time zone from folder-hook?

2014-12-11 Thread Joachim Saul
Hi, in one particular folder I collect messages for which I would like to display the date in the index as UTC. In all other folders I want to keep my local time zone. Of course I can set the time zone to UTC globally by using the TZ environment variable. But I would like to restrict that

Re: SMTP one more time, with all the details

2014-11-08 Thread DaleKelly
On 11/08/2014 12:48 PM, John Niendorf wrote: Dale, I'm curious, what email provider are you using? godaddy.com same as my website Thunderbird works with it -- (my whereabouts below) http://www.dalekelly.org/

Re: SMTP one more time, with all the details

2014-11-08 Thread John Niendorf
Dale, I'm curious, what email provider are you using? -- John

Re: SMTP one more time, with all the details

2014-11-08 Thread DaleKelly
On 11/08/2014 01:12 AM, John Niendorf wrote: Dale, What happens when you put this in your .muttrc file? set smtp_url="smtps://your_email_addr...@email.server.com/465" set smtp_pass="your_password" same error, but thanks a lot also tried adding set smtp_authenticators="digest-md5:cram-md5" th

Re: SMTP one more time, with all the details

2014-11-07 Thread John Niendorf
Dale, What happens when you put this in your .muttrc file? set smtp_url="smtps://your_email_addr...@email.server.com/465" set smtp_pass="your_password" -- John

Re: SMTP one more time, with all the details

2014-11-07 Thread DaleKelly
On 11/08/2014 12:15 AM, Patrick Shanahan wrote: * DaleKelly [11-07-14 22:57]: (my ~/.muttrc is below) I am compiling from source (1.5.1.23) got the message on the dev list that SSLv3 had a security issue don't know if a previous version has SMTP I added --config-pop --config-smtp --with-ssl -

Re: SMTP one more time, with all the details

2014-11-07 Thread Patrick Shanahan
* DaleKelly [11-07-14 22:57]: > (my ~/.muttrc is below) > > I am compiling from source (1.5.1.23) > got the message on the dev list that SSLv3 had a security issue > don't know if a previous version has SMTP > > I added --config-pop --config-smtp --with-ssl --with-sasl > to the ./comfigure comma

Re: SMTP one more time, with all the details

2014-11-07 Thread DaleKelly
On 11/07/2014 11:28 PM, David Champion wrote: * On 07 Nov 2014, DaleKelly wrote: I get no prompt for username and password No, you wouldn't because nothing in your configuration indicates definitively that you want AUTH-SMTP. I added only one change to the sample.muttrc and saved it to ~/.m

Re: SMTP one more time, with all the details

2014-11-07 Thread David Champion
* On 07 Nov 2014, DaleKelly wrote: > > I get no prompt for username and password No, you wouldn't because nothing in your configuration indicates definitively that you want AUTH-SMTP. > I added only one change to the sample.muttrc > and saved it to ~/.muttrc > set smtp_url=smtps://smtpout.secur

SMTP one more time, with all the details

2014-11-07 Thread DaleKelly
ot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-i386/jre --enabl

Re: How do I set the time zone from which mutt sends email?

2014-07-11 Thread Cameron Simpson
so I used the old style TZ settings for Western US. The header "Date:" showed the PDT date/time. The first "Received:" header showed the local system received it using the actual local time (EDT). Thank you for testing and reporting. I would say that that is just as it shoul

Re: How do I set the time zone from which mutt sends email?

2014-07-10 Thread Mark H. Wood
the old style TZ settings > for Western US. > > The header "Date:" showed the PDT date/time. > The first "Received:" header showed the local system > received it using the actual local time (EDT). Thank you for testing and reporting. I would say that that

Re: How do I set the time zone from which mutt sends email?

2014-07-09 Thread Jon LaBadie
Emperical test, I'm in the Eastern US (EDT -4:00) I sent myself a message on another system using an altered TZ variable. TZ=PST8PDT mutt j...@mums.jgcomp.com I'm old fashioned, so I used the old style TZ settings for Western US. The header "Date:" showed the PDT

Re: How do I set the time zone from which mutt sends email?

2014-07-09 Thread Derek Martin
uhlman wrote: > >> >> My email server is in a different timezone from where I am. > >> >> > >> >> How do I tell mutt to use my local timezone when sending an email? And, > >> >> how > >> >> do I tell mutt what my local ti

Re: How do I set the time zone from which mutt sends email?

2014-07-09 Thread Grant Edwards
re I am. >> >> >> >> How do I tell mutt to use my local timezone when sending an email? And, >> >> how >> >> do I tell mutt what my local timezone is? >> > >> > You don't... your system does that via its time configuration. >&g

Re: How do I set the time zone from which mutt sends email?

2014-07-09 Thread Derek Martin
l mutt to use my local timezone when sending an email? And, > >> how > >> do I tell mutt what my local timezone is? > > > > You don't... your system does that via its time configuration. > > You're assuming that the system's timezone and his local time

Re: How do I set the time zone from which mutt sends email?

2014-07-09 Thread Grant Edwards
t what my local timezone is? > > You don't... your system does that via its time configuration. You're assuming that the system's timezone and his local timezone are the same. That's not always true. Some of the machines on which I sometimes use mutt are in the US/Eastern zone,

Re: How do I set the time zone from which mutt sends email?

2014-07-09 Thread Dave Kuhlman
email, it has the time at which I wrote and sent it in California. I'll have to remember to change that when I travel to a different timezone, of course. FYI, on my mail server's machine (GNU/Linux), the list of timezone names is the directories and file names under: /usr/share/zoneinfo/ Dave

Re: How do I set the time zone from which mutt sends email?

2014-07-09 Thread Derek Martin
On Wed, Jul 09, 2014 at 02:48:07AM +, Dave Kuhlman wrote: > My email server is in a different timezone from where I am. > > How do I tell mutt to use my local timezone when sending an email? And, how > do I tell mutt what my local timezone is? You don't... your system does

Re: How do I set the time zone from which mutt sends email?

2014-07-09 Thread Edward Toroshchin
Have you tried the TZ env variable? -- Edward

How do I set the time zone from which mutt sends email?

2014-07-09 Thread Dave Kuhlman
My email server is in a different timezone from where I am. How do I tell mutt to use my local timezone when sending an email? And, how do I tell mutt what my local timezone is? I do remote login (with ssh) to my email account. I looked at the mutt documentation on configuration and I also did

Re: Does mail_check work on IMAP? (Slow checking time)

2014-04-15 Thread Grant Edwards
t). The only solution I found was to set > mail_check and timeout to a low(ish) value. In the end I just downloaded > my mail locally and read it from there. Ah, that's good to know. I gernally don't leave mutt running all the time, so I never messed with IDLE or polling settings.

Re: Does mail_check work on IMAP? (Slow checking time)

2014-04-14 Thread Chris Down
Grant Edwards writes: > I though mutt supported IMAP's IDLE command. That should reduce the > latency to well under a second. At least in my experience, IMAP IDLE on mutt results in sporadic lockups (on Google Apps, at least). The only solution I found was to set mail_check and timeout to a low(i

Re: Does mail_check work on IMAP? (Slow checking time)

2014-04-14 Thread Grant Edwards
On 2014-04-12, David Woodfall wrote: > I've been trying to get mutt to check IMAP mail more frequently. At > the moment it seems to take 15 secs or so for a new message to appear > after I've actually recieved it (I have an audible new mail > notification that counts mailboxes for new mail). I t

Does mail_check work on IMAP? (Slow checking time)

2014-04-12 Thread David Woodfall
Hi I've been trying to get mutt to check IMAP mail more frequently. At the moment it seems to take 15 secs or so for a new message to appear after I've actually recieved it (I have an audible new mail notification that counts mailboxes for new mail). I know 15 secs isn't actually /that/ slow, bu

Re: Time Format

2013-02-14 Thread Gary Johnson
On 2013-02-14, s. keeling wrote: > Incoming from Konrad Vrba: > > On 2/14/13, christoph wrote: > > > > > > I have this index_format: > > > set index_format="%Z %{%e.%m.%y %H:%M} %-15.15F %s" > > > which translates to lines like this one

Re: Time Format

2013-02-14 Thread s. keeling
Incoming from Konrad Vrba: > On 2/14/13, christoph wrote: > > > > I have this index_format: > > set index_format="%Z %{%e.%m.%y %H:%M} %-15.15F %s" > > which translates to lines like this one: > > L 14.02.13 14:14 Konrad Vrba Time Format

Re: Time Format

2013-02-14 Thread Konrad Vrba
y please advise how I can change the default time format, >> > which is displayed when I view my messages? At the moment, I see only >> > Month and day (ie, Aug 21). But I would like to see the year aswell, >> > as I am using mutt for reading through old archive of maildir, whic

Re: Time Format

2013-02-14 Thread s. keeling
Incoming from Konrad Vrba: > > could somebody please advise how I can change the default time format, > which is displayed when I view my messages? At the moment, I see only > Month and day (ie, Aug 21). But I would like to see the year aswell, I use: set index_format="%4C %

Re: Time Format

2013-02-14 Thread christoph
On Thu, Feb 14, 2013 at 04:00:05PM +0100, Suvayu Ali wrote: > On Thu, Feb 14, 2013 at 02:14:35PM +0100, Konrad Vrba wrote: > > Hello, > > > > could somebody please advise how I can change the default time format, > > which is displayed when I view my messages? At the m

Re: Time Format

2013-02-14 Thread Suvayu Ali
On Thu, Feb 14, 2013 at 02:14:35PM +0100, Konrad Vrba wrote: > Hello, > > could somebody please advise how I can change the default time format, > which is displayed when I view my messages? At the moment, I see only > Month and day (ie, Aug 21). But I would like to see the year as

Time Format

2013-02-14 Thread Konrad Vrba
Hello, could somebody please advise how I can change the default time format, which is displayed when I view my messages? At the moment, I see only Month and day (ie, Aug 21). But I would like to see the year aswell, as I am using mutt for reading through old archive of maildir, which goes

Re: Mail times/date in local time zone

2012-03-31 Thread Kumar Appaiah
Dear Gary, On Sat, Mar 31, 2012 at 10:26:17AM -0700, Gary Johnson wrote: > On 2012-03-30, Kumar Appaiah wrote: > > Dear Mutt Users, > > > > Often, I wish to know the time at which someone wrote me an e-mail > > converted to the local time zone. Since most of my contac

Re: Mail times/date in local time zone

2012-03-31 Thread Gary Johnson
On 2012-03-30, Kumar Appaiah wrote: > Dear Mutt Users, > > Often, I wish to know the time at which someone wrote me an e-mail > converted to the local time zone. Since most of my contacts live in > another time zone, (and some use the time zone + even though that > isn

Re: Mail times/date in local time zone

2012-03-31 Thread Kumar Appaiah
Dear Ed, On Fri, Mar 30, 2012 at 05:23:38PM -0400, Ed Blackman wrote: > On Fri, Mar 30, 2012 at 02:27:47PM -0500, Kumar Appaiah wrote: > >Often, I wish to know the time at which someone wrote me an e-mail > >converted to the local time zone. Since most of my contacts live in >

Re: Mail times/date in local time zone

2012-03-30 Thread Ed Blackman
On Fri, Mar 30, 2012 at 02:27:47PM -0500, Kumar Appaiah wrote: Often, I wish to know the time at which someone wrote me an e-mail converted to the local time zone. Since most of my contacts live in another time zone, (and some use the time zone + even though that isn't where they liv

Mail times/date in local time zone

2012-03-30 Thread Kumar Appaiah
Dear Mutt Users, Often, I wish to know the time at which someone wrote me an e-mail converted to the local time zone. Since most of my contacts live in another time zone, (and some use the time zone + even though that isn't where they live), I have to do some mental calculations whic

Re: time zone conversion

2012-01-24 Thread Michael Elkins
On Mon, Jan 23, 2012 at 08:56:01PM +0100, Sebastian Tramp wrote: On Mon, Jan 23, 2012 at 01:32:33PM +, Paul wrote: >I'm looking for a way to convert the date header to my local time >zone in the mail detail view. I'm aware of the index format %D option >but need thi

Re: time zone conversion

2012-01-23 Thread Sebastian Tramp
On Mon, Jan 23, 2012 at 01:32:33PM +, Paul wrote: > >I'm looking for a way to convert the date header to my local time > >zone in the mail detail view. I'm aware of the index format %D option > >but need this for the (internal) pager. > > > >Any id

Re: time zone conversion

2012-01-23 Thread Gary Johnson
On 2012-01-23, Sebastian Tramp wrote: > Hi all, > > I'm looking for a way to convert the date header to my local time zone > in the mail detail view. I'm aware of the index format %D option but > need this for the (internal) pager. > > Any ideas? Would displaying

Re: time zone conversion

2012-01-23 Thread Paul
On Monday, 23 January, 2012 at 08:21:17 GMT, Sebastian Tramp wrote: I'm looking for a way to convert the date header to my local time zone in the mail detail view. I'm aware of the index format %D option but need this for the (internal) pager. Any ideas? This is not fantastic, but i

Re: time zone conversion

2012-01-23 Thread P. Mazart
Hi, Sebastian Tramp schrieb am 23.01.2012 09:21:17: > I'm looking for a way to convert the date header to my local time zone > in the mail detail view. I'm aware of the index format %D option but > need this for the (internal) pager. Just noticed myself having this p

time zone conversion

2012-01-23 Thread Sebastian Tramp
Hi all, I'm looking for a way to convert the date header to my local time zone in the mail detail view. I'm aware of the index format %D option but need this for the (internal) pager. Any ideas? Best regards Sebastian Tramp -- WebID: http://sebastian.tramp.name

Re: format string: time for today, date for others.

2011-01-20 Thread Ed Blackman
ia Andreas Kneib # mutt-users Message-ID: <20110105233817.ga23...@andreas.kneib.biz> # Improvements by # David Champion # Ed Blackman msg_date="$1" # datetime of message in local timezone in epoch seconds now="$2"# c

Re: format string: time for today, date for others.

2011-01-07 Thread du yang
mand. (Mixing POSIX and GNU is another common > portability problem in the Linux era.) Since you appear to be using > FreeBSD you may have problems with that even after adapting the shell > syntax. (In fact I think it's even more confusing. Where the -d > option will simp

Re: format string: time for today, date for others.

2011-01-07 Thread du yang
On Fri, Jan 07, 2011 at 18:21 +0800, Yue Wu wrote: > On Fri, Jan 07, 2011 at 03:40:12PM +0800, du yang wrote: > > Hi, > > > > I improved the script to fulfill the author's the expectation(just display > > time for today's mails), > > only

Re: format string: time for today, date for others.

2011-01-07 Thread du yang
On Fri, Jan 07, 2011 at 05:29 -0600, David Champion wrote: > * On 07 Jan 2011, du yang wrote: > > Hi, > > > > I improved the script to fulfill the author's the expectation(just display > > time for today's mails), > > only 'if condition' c

Re: format string: time for today, date for others.

2011-01-07 Thread David Champion
* On 07 Jan 2011, du yang wrote: > Hi, > > I improved the script to fulfill the author's the expectation(just display > time for today's mails), > only 'if condition' changed. > ... > if [ $(date -d "$(date '+%Y-%m-%d')" "+%s&

Re: format string: time for today, date for others.

2011-01-07 Thread Yue Wu
uot; command. (Mixing POSIX and GNU is another common > portability problem in the Linux era.) Since you appear to be using > FreeBSD you may have problems with that even after adapting the shell > syntax. (In fact I think it's even more confusing. Where the -d > option will simp

Re: format string: time for today, date for others.

2011-01-07 Thread du yang
On Fri, Jan 07, 2011 at 18:54 +0800, Yue Wu wrote: > On Fri, Jan 07, 2011 at 06:32:44PM +0800, du yang wrote: > > > > Change '#!/bin/bash' to '#!/bin/sh' in the script header, then it may work. > > > > else please post the error details. > > > > I've tried it, but many messages like: > > u

Re: format string: time for today, date for others.

2011-01-07 Thread David Champion
hell syntax. (In fact I think it's even more confusing. Where the -d option will simply fail on a pure POSIX system, I think it is actually a completely different option on BSD, which has its own extensions separate from GNU's.) Remember that setting $index_format to a piped command mea

Re: format string: time for today, date for others.

2011-01-07 Thread Yue Wu
On Fri, Jan 07, 2011 at 06:32:44PM +0800, du yang wrote: > > Change '#!/bin/bash' to '#!/bin/sh' in the script header, then it may work. > > else please post the error details. > I've tried it, but many messages like: usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdH

Re: format string: time for today, date for others.

2011-01-07 Thread du yang
On Fri, Jan 07, 2011 at 18:21 +0800, Yue Wu wrote: > On Fri, Jan 07, 2011 at 03:40:12PM +0800, du yang wrote: > > Hi, > > > > I improved the script to fulfill the author's the expectation(just display > > time for today's mails), > > only

Re: format string: time for today, date for others.

2011-01-07 Thread Yue Wu
On Fri, Jan 07, 2011 at 03:40:12PM +0800, du yang wrote: > Hi, > > I improved the script to fulfill the author's the expectation(just display > time for today's mails), > only 'if condition' changed. > > - du yang > >

Re: format string: time for today, date for others.

2011-01-07 Thread Yue Wu
On Wed, Jan 05, 2011 at 04:32:44PM -0600, David Champion wrote: > * On 05 Jan 2011, Yue Wu wrote: > > Hi list, > > > > Is there a date/time string that show the time only for today's emails > > but date for else? So, in the index, the emails that got today will

Re: format string: time for today, date for others.

2011-01-06 Thread du yang
Hi, I improved the script to fulfill the author's the expectation(just display time for today's mails), only 'if condition' changed. - du yang #!/bin/bash epoch="$1" if [ $(date -d "$(date '+%Y-%m-%d')" &quo

Re: format string: time for today, date for others.

2011-01-06 Thread Toby Cubitt
On Thu, Jan 06, 2011 at 03:09:53AM +, Toby Cubitt wrote: > As far as I recall (it's a long time since I looked at it), the > date_conditional patch straightforwardly compares the email date stamp > against the current time. The <1d conditional is true whenever the email >

Re: format string: time for today, date for others.

2011-01-06 Thread David Champion
* On 05 Jan 2011, Toby Cubitt wrote: > > is dated less than 24h before the current time. That's *not* what I'm > after. When the current time is 00:01 on the 6 Jan, I want an email that > arrived at 23:59 on the 5 Jan to display "Sun 05", even though the ema

Re: format string: time for today, date for others.

2011-01-05 Thread Toby Cubitt
On Wed, Jan 05, 2011 at 07:22:18PM -0600, David Champion wrote: > * On 05 Jan 2011, Toby Cubitt wrote: > > > > Yes, but how would you use this to e.g. print only the time for all > > emails received today, but print the date for all emails received > > yesterday or ea

  1   2   3   >