Re: short time in index view?
On 10/09 15:51, darren chamberlain wrote: > > Change the part in %[ ] to be something like %[%b %d %H:%M] or %[%m/%d %H:%M]. Thanks! I'm feeling a little out of it today. -- Eric
Re: short time in index view?
* Eric <[EMAIL PROTECTED]> [2002-10-09 14:35]: > How can I get: > > 118 Oct 09 11:35 To mutt-users, etc, etc, >^ > In the above example? > > (Or even 118 10/09 11:35 To mutt-users, etc, etc) Change the part in %[ ] to be something like %[%b %d %H:%M] or %[%m/%d %H:%M]. (darren) -- How can I believe in God when just last week I got my tongue caught in the roller of an electric typewriter? -- Woody Allen
Re: short time in index view?
On 10/09 10:46, Eric wrote: > I tried these but I think my syntax was incorrect. Does anyone have > an example syntax. I got this from someone on this list and I like it a lot: set index_format="%3C%?M?+& ?%Z %[%b %d] %-16.16F [%-9.9O] %-33.33s (%4l)" What is get is this: 118 Oct 09 To mutt-users@mutt [mutt-user] short time in index view? \ (16) For some reason, my head is stuck this morning. I use `date +%d%whatever` all the time but I'm having a hard time understanding the index_format. How can I get: 118 Oct 09 11:35 To mutt-users, etc, etc, ^ In the above example? (Or even 118 10/09 11:35 To mutt-users, etc, etc) Thanks for all your help so far! -- Eric
Re: short time in index view?
* On 2002.10.09, in <[EMAIL PROTECTED]>, * "Eric" <[EMAIL PROTECTED]> wrote: > > > > Another option are the %{}, %(), %<>, and %[] formats: > > I tried these but I think my syntax was incorrect. Does anyone have > an example syntax. man strftime. %m/%d %H:%M gives "10/09 12:49" right here, now. You can test strftime sequences with (for example): date "+%m/%d %H:%M" -- -D.We establised a fine coffee. What everybody can say Sun Project, APC/UCCO TASTY! It's fresh, so-mild, with some special coffee's University of Chicago bitter and sourtaste. "LET'S HAVE SUCH A COFFEE! NOW!" [EMAIL PROTECTED] Please love CAFE MIAMI. Many thanks.
Re: short time in index view?
On Wed, Oct 09, 2002 at 01:34:26PM -0400, darren chamberlain wrote: > > Set date_format to something short.s Grrr, now I get it. I seem to have missed the date_format section in the .muttrc. Jeez > > Another option are the %{}, %(), %<>, and %[] formats: I tried these but I think my syntax was incorrect. Does anyone have an example syntax. -- Eric
Re: short time in index view?
* Eric <[EMAIL PROTECTED]> [2002-10-09 13:19]: > However, it's giving me very long date and time fields. How can I > just get something like: > > 10/09/02 10:15 > > or 10/09 1:15. Something short and concise. From the manual, section 6.3.84: %d date and time of the message in the format specified by ``date_format'' converted to sender's time zone %D date and time of the message in the format specified by ``date_format'' converted to the local time zone Set date_format to something short. Another option are the %{}, %(), %<>, and %[] formats: %{fmt} the date and time of the message is converted to sender's time zone, and ``fmt'' is expanded by the library function ``strftime''; a leading bang disables locales %[fmt] the date and time of the message is converted to the local time zone, and ``fmt'' is expanded by the library function ``strftime''; a leading bang disables locales %(fmt) the local date and time when the message was received. ``fmt'' is expanded by the library function ``strftime''; a leading bang disables locales % the current local time. ``fmt'' is expanded by the library function ``strftime''; a leading bang disables locales. (darren) -- One cannot make an omelette without breaking eggs -- but it is amazing how many eggs one can break without making a decent omelette. -- Professor Charles P. Issawi
short time in index view?
Hi, I'm trying to get the short time to come up in my index view. I got all the %d %D and other variations regard sending time zone and receiving time zone (great if you are using Qmail). However, it's giving me very long date and time fields. How can I just get something like: 10/09/02 10:15 or 10/09 1:15. Something short and concise. TIA! -- Eric