Re: Translation issues with strftime



On 2003-12-01(Mon) 09:22:43 +0100, Vincent Untz wrote:
> Hi
> 
> There have been some bug reports in bugzilla against gnome-panel/clock
> regarding the use of '%-d' in translations of strings used in strftime.
> See for example http://bugzilla.gnome.org/show_bug.cgi?id=127349
> 
> It seems that this is not working everywhere. Looking at the strftime
> manual, I could not find any mention of such '%-' thing. It might be a
> GNU extension.

Hi,

Seems you're correct.

[deaddog@localhost ~]$ man date
[.........]

       By  default, date pads numeric fields with zeroes.  GNU date recognizes
       the following modifiers between `%' and a numeric directive.

              `-' (hyphen) do not pad the field `_' (underscore) pad the field
              with spaces

Abel


> 
> Does anyone know what is the exact problem? If it's a GNU extension,
> should it be used?
> 
> Please note that you can use %e instead of %-d and there might be other
> solutions.
> 
> Thanks
> 
> Vincent
> 
> -- 
> Les gens heureux ne sont pas presses.
> _______________________________________________
> gnome-i18n mailing list
> gnome-i18n@gnome.org
> http://lists.gnome.org/mailman/listinfo/gnome-i18n

-- 
Abel Cheung
Linux counter #256983   | http://counter.li.org
GPG Key: (0xC67186FF)   | http://deaddog.org/gpg.asc
Key fingerprint: 671C C7AE EFB5 110C D6D1  41EE 4152 E1F1 C671 86FF

PGP signature



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