On 20-Dec-2010 20:53, Bram Moolenaar wrote:
> 
> Ingo Karkat wrote:
> 
>> On 19-Dec-2010 17:14, Dominique Pellé wrote:
>>
>> Please forgive my ignorance; I don't know much about the Vim sources
>> yet. But I'm wondering why the date format is hard-coded (to some
>> US-English format) at all. Shouldn't something like %c / %X be used,
>> so that the format is determined by the user's locale? Our
>> international users will thank us for that.
> 
> The format is international, it is the only one that's accepted
> worldwide and doesn't need configuration to work correctly.
> Configurations often get to be wrong and users waste time correcting
> that (how many times did I have to change "11:00 pm" to "22:00" by
> diving deep into menus?).  And how many people know what 0:00 am and
> 0:00 pm mean?

Well, I personally, whenever I see a date delimited by "/", start to wonder
which is the month and which the day...

I actually thought that user locales via $LANG on Unix and corresponding
settings on Windows were a problem long solved, and that most programs (e.g. all
the GNU ports I know) by now adhere to those settings. If you're that afraid of
configuration, you've probably set LANG=C anyway, because you cannot be bothered
whether Æ and Ä sort before or after A, etc.

In this case of :undolist, it's probably not that important. I had assumed that
the recent implementation had so far skipped the Internationalization aspects,
and that it would have been simply a case of applying the (existing, I had
assumed) Vim functions for locale-awareness. If none such thing exists because
Vim rarely deals with date output, it's probably best to stick to the current
implementation.

-- regards, ingo

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui