On 2012-06-26 19:53:37 +0200, Lars Windolf wrote:
> Am 16.06.2012 21:17, schrieb Vincent Lefevre:
> >On 2012-06-16 20:38:52 +0200, Lars Windolf wrote:
> >>The idea was to radically simplify the date formatting by relying
> >>only on a single glib method... (which ATM is not yet possible due
> >>to a glib bug...).
> >Do you mean that date formatting should be provided by glib?
> >If it is itself configurable, then yes, that would be the best
> >solution.
> No, not at all. Only the date parsing.
> 
> The formatting is performed using strptime().

strptime() does parsing, not formatting. strftime() does formatting,
and you should use it with a time format that can be specified by
the user (not the hardcoded format like now).

> The format codes are supplied by the language translations

The default date format in Liferea is broken, as it is a mix of
French and English here.

> and follow the standard time format shortening as found in mail
> clients

My MUA, Mutt, uses strftime, with user-supplied time format. This is
all what I need with Liferea.

> and GNOME.

GNOME sucks. It doesn't follow standards, such as LC_TIME.

-- 
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