On Wed, Jun 27, 2012 at 12:55 AM, Vincent Lefevre <vinc...@vinc17.net> wrote:
> 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).

Sorry about the typo. Did you really think we do not use strftime()
for formatting? How would we get any useful output with strptime()...

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

Then the translation of the time format literals should be fixed.



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