[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug#474436: coreutils: "ls --time-style=locale" no longer works
From: |
Jim Meyering |
Subject: |
Re: Bug#474436: coreutils: "ls --time-style=locale" no longer works |
Date: |
Sun, 06 Apr 2008 18:35:48 +0200 |
"Bo Borgerson" <address@hidden> wrote:
> This can affect invocations of `ls' that don't include an explicit
> `--time-style=locale', as well, since that is now the default (in
> absence of a TIME_STYLE environment variable).
>
> The only case I can see in the head revision of `ls.c' where the
> default English time-style is used is when there is no `hard locale'
> in effect for time (LC_TIME=C or POSIX).
>
> In case it might be desirable to have the time-style default to N_("%b
> %e %Y") and N_("%b %e %H:%M") (the `defaults') rather than
> 'posix-long-iso' ("%Y-%m-%d %H:%M" in all cases) for locales that
> begin with 'en_', I've included a small patch that provides this
> behavior.
Thanks.
That feels pretty kludgy. I hope we end up with something cleaner.
BTW, such a patch would almost certainly require doc and test changes
(a test addition, at least), as well as a NEWS entry. If no one comes
up with something better in the next few weeks, we can revisit this.
- Re: Bug#474436: coreutils: "ls --time-style=locale" no longer works, Jim Meyering, 2008/04/06
- Re: Bug#474436: coreutils: "ls --time-style=locale" no longer works, Andreas Schwab, 2008/04/06
- Re: Bug#474436: coreutils: "ls --time-style=locale" no longer works, Bo Borgerson, 2008/04/06
- Re: Bug#474436: coreutils: "ls --time-style=locale" no longer works,
Jim Meyering <=
- Re: Bug#474436: coreutils: "ls --time-style=locale" no longer works, Bo Borgerson, 2008/04/06
- Re: Bug#474436: coreutils: "ls --time-style=locale" no longer works, Michael Stone, 2008/04/06
- Re: Bug#474436: coreutils: "ls --time-style=locale" no longer works, Bo Borgerson, 2008/04/06
- Re: Bug#474436: coreutils: "ls --time-style=locale" no longer works, Paul Eggert, 2008/04/07
- Re: Bug#474436: coreutils: "ls --time-style=locale" no longer works, Micah Cowan, 2008/04/07
- Re: Bug#474436: coreutils: "ls --time-style=locale" no longer works, Jim Meyering, 2008/04/08