Re: Copyright year as %d



2009-02-05 klockan 20:30 skrev Thomas Thurman:
> "Copyright (C) 2001-%d ..." [snip]
> and supply the year in the code, so I won't be making all the  
> translators change the string every year?  Is there any locale out there  
> that doesn't represent the year 2009 in the same way it represents the  
> decimal number 2009?

Instead of using g_sprintf() and passing the current year as an argument,
you could try using g_date_strftime() with '%Y' as the format specifier.

    — Wouter

Attachment: signature.asc
Description: Digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]