Re: Copyright year as %d



2009-02-05 (목), 20:49 +0100, Wouter Bolsterlee:
> 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.

g_date_strftime() with the current GDate arg? Copyright year should not
be changed in run time. It should be updated only when its source code
is modified.

-- 
Changwoo Ryu <cwryu debian org>

Attachment: signature.asc
Description: This is a digitally signed message part



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