[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Time string format
From: |
Deniz Dogan |
Subject: |
Re: Time string format |
Date: |
Sat, 20 Nov 2010 03:49:24 +0100 |
2010/11/19 Eli Zaretskii <address@hidden>:
> time.el:display-time-string-forms believes that the right format for
> displaying the date in the mode-line tooltip is "%a %b %e, %Y". This
> is not necessarily TRT in languages other than English, because
> putting the month name before the day of the month does not
> necessarily read well in other languages.
>
> Would it be a good idea to have an element of language-info-alist that
> provides a proper format for this?
>
>
In the docstring for `format-time-string':
%c is the locale's date and time format.
%x is the locale's "preferred" date format.
%X is the locale's "preferred" time format.
%EX is a locale's alternative version of %X;
%OX is like %X, but uses the locale's number symbols.
One of these or a combination of multiple formats seems ideal to me.
--
Deniz Dogan
- Re: Time string format, (continued)
- Re: Time string format, Stephen J. Turnbull, 2010/11/21
- Re: Time string format, Lennart Borgman, 2010/11/21
- Re: Time string format, Stephen J. Turnbull, 2010/11/21
- Re: Time string format, Lennart Borgman, 2010/11/21
- Re: Time string format, Stephen J. Turnbull, 2010/11/21
- Re: Time string format, Lennart Borgman, 2010/11/22
- Re: Time string format, Harald Hanche-Olsen, 2010/11/21
- Re: Time string format, Eli Zaretskii, 2010/11/20
- Re: Time string format, Lennart Borgman, 2010/11/20
- Re: Time string format, Eli Zaretskii, 2010/11/20
Re: Time string format,
Deniz Dogan <=
Re: Time string format, David De La Harpe Golden, 2010/11/19