[Top][All Lists]

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

Re: More i18n

From: Neil Jerram
Subject: Re: More i18n
Date: Sun, 31 Dec 2006 16:15:47 +0000
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Kevin Ryde <address@hidden> writes:

> address@hidden (Ludovic Courtès) writes:
>> +           ABDAY_1 ABDAY_2 ABDAY_3 ABDAY_4 ABDAY_5 ABDAY_6 ABDAY_7
>> +           DAY_1 DAY_2 DAY_3 DAY_4 DAY_5 DAY_6 DAY_7
> By way of concrete suggestion, something like
>       (locale-weekday N)
>       (locale-weekday-short N)
>       (locale-month N)
>       (locale-month-short N)

Yes, that looks nice.

> or similar names would be much nicer than messing about with
>       (... (+ ABDAY_1 N))
>       (... (+ MON_1 N -1))    ;; if N is 1 to 12

Not sure about 1..12 though; 0-based indices are a pretty well
established convention in Scheme, aren't they?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]