Re: Translation issues with strftime
- From: Abel Cheung <deaddog deaddog org>
- To: Malcolm Tredinnick <malcolm commsecure com au>
- Cc: gnome-i18n gnome org
- Subject: Re: Translation issues with strftime
- Date: Wed, 3 Dec 2003 01:12:45 +0800
On 2003-12-03(Wed) 00:17:13 +1100, Malcolm Tredinnick wrote:
> > 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
>
> It is completely undocumented behaviour for strftime(), though. It
> happens to work, but the strftime(3) page mentions nothing about the
> modifier.
>
> If it is really important that those strings don't have a leading zero
> for locale-specific reasons, shouldn't the original string be %X and %x,
> as appropriate, rather than some tricked out version as is there
> currently?
There is already a bug report about using %X and %x, though I can't
recall the bug# now. Hope the original reporter can stand up.
Abel
>
> Malcolm
>
>
> _______________________________________________
> 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]