help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] UK date format in Dired


From: Eli Zaretskii
Subject: Re: [h-e-w] UK date format in Dired
Date: Sat, 27 Jan 2007 19:40:42 +0200

> Cc: "Graham Smith" <address@hidden>, address@hidden
> From: Stephen Leake <address@hidden>
> Date: Sat, 27 Jan 2007 11:30:13 -0500
> 
> Eli Zaretskii <address@hidden> writes:
> 
> >     ;; Use traditional time format in the C or POSIX locale,
> >     ;; ISO-style time format otherwise, so columns line up.
> >
> > And since the Windows port of Emacs always sets "LANG" to the current
> > Windows language identifier, we end up never using the value of
> > ls-lisp-format-time-list, but always use the ISO format instead.
> >
> > The comment above says it's a feature: it makes the columns line up,
> > which would not be guaranteed if we used the localized format (since
> > the length of localized month names could be anything).
> 
> Perhaps ls-lisp could fill the locale time string with spaces to make
> the columns line up; that would be more friendly.

Patches are welcome, but please note that there be dragons: for
example, some Windows locales don't define abbreviated month names,
and instead produce full names.  Whatever code you have in mind should
deal with such locales as well.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]