Re: Translation issues with strftime

On Tue, 2003-12-09 at 05:48, Ole Laursen wrote:
> Keld Jørn Simonsen <> writes:
> [...]
> >> Yeah, that is clearly the case. The facilities in strftime are
> >> inadequate to deal with the situation today. We've known that for some
> >> time. I've complained about it to Keld Simonsen who is part of the ISO
> >> group responsible for the standard, but I don't know whether things
> >> will ever change.
> >
> > Well, a revision can be undertaken. I do agree with the need for
> > a day number without a leading space. How should it be done?
> > Well, you can actually do it to day with
> >
> > alt_digits "0;1;2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;20;21;22;23;24;25;26;27;28;29;30;31"
> >
> > And then using the %Od format specifier.
> %0d or %-d. Both seems fine. Have you had a look at the GNU
> extensions? They generally seem sensible.

And non-portable. GNOME does not just run on platforms that use glibc.
The O and E modifiers are in the Single Unix Specification and can be
relied upon to be widely available. The GNU extensions cannot.


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