Re: Translation issues with strftime



On Mon, Dec 08, 2003 at 07:48:08PM +0100, Ole Laursen wrote:
> Keld Jørn Simonsen <keld@dkuug.dk> 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.

OK; We could standardize these extensions.

> 
> Yeah, the point was 'mandag' which should have been 'Mandag'.
> 
> >> There's no way to tell strftime that the weekday should be
> >> capitalised.
> >
> > That should also be possible, to say "use capitalization on the first
> > letter". Any suggestions on how it could be done?
> > This should apply to both month names and weekday names, and both
> > abbreviated and long forms. So maybe a general "make it uppercase"
> > flag could be used ("+" maybe?).
> 
> '+' doesn't seem to be used by GNU at least.

OK, we could try to do something along these lines, first code it and
then standardize it.

best regards
keld



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