Re: Another strftime question
- From: Paisa Seeluangsawat <paisa unt edu>
- To: gnome-i18n gnome org
- Cc: malcolm commsecure com au
- Subject: Re: Another strftime question
- Date: Mon, 15 Dec 2003 22:21:55 -0600
Hi again,
I went ahead and use %EY in Thai Nautilus translation, expecting it to
show 2546 (the year in AD + 543). It just shows up as "%EY". Any
idea what should be fixed? I'm using Fedora Core 1 with gnome 2.5.1
(via garnome).
Thanks,
Paisa
On Sun, 2003-12-07 at 14:05, Malcolm Tredinnick wrote:
> On Sun, 2003-12-07 at 06:40, Paisa Seeluangsawat wrote:
> > Is it safe to use %E? and %O? in date/time translations? I tried,
> >
> > date +%Ey
> >
> > and it prints the correct locallized year on my machine. But I"m
> > don't know if it will work in strftime and on other systems.
>
> These should be portable. They are specified in the Single Unix
> Specification (back in version 2, so they have been there for a while).
> If we come across a system that does not support them for some reason,
> then that system should get a special workaround, since it is arguably
> broken. Defaulting to things that are specified in SUS is pretty safe,
> in general.
>
> Cheers,
> Malcolm
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]