On 2012-06-27 22:31:24 +0200, Lars Windolf wrote:
> Am 27.06.2012 19:16, schrieb Vincent Lefevre:
> >Note: for coreutils, the format of timestamps of files is specified
> >by the $TIME_STYLE environment variable. I mention this because
> >timestamps of files and timestamps of feed items are a bit similar.
> You are right. The coreutils $TIME_STYLE is the same feature.
> So what's left to do is to take the French localization from coreutils
> and apply the format codes to the French Liferea localization.

I don't understand what you mean. There's nothing related to French
here. $TIME_STYLE is just a user configuration. BTW, I use coreutils
under English locales.

What is related to locales is %c, e.g.

$ date +%c
2012-06-27T23:00:36 CEST

with my $LC_TIME, which is en_DK (the well-known locale that follows
the ISO 8601 standard).

That's very close to my $TIME_STYLE config (CEST isn't really useful
information when space is limited - there may be an slight ambiguity
just twice a year).

%c is what Firefox uses, e.g. on "View Page Info".

That's the fixed format that should be the closest to what the user
expects (via his LC_TIME locale or fallback). But it may take too
much space in the context of Liferea (users may not want the timezone
information, and some other users may not want the seconds either,
and humans may prefer a space rather than a "T" in this particular
locale). That's why a format completely configurable by the user
(basically a user-provided strftime string) is preferred.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to