From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: Re: Text collation Date: Tue, 05 Dec 2006 11:20:39 +1100 Message-ID: <87slfvkxbc.fsf@zip.com.au> References: <877j00cirs.fsf@laas.fr> <87hcz3mqhr.fsf@zip.com.au> <87r6x0qjyy.fsf@laas.fr> <87fyc1df70.fsf@zip.com.au> <87zma9m07p.fsf@laas.fr> <87u00e6jxa.fsf@zip.com.au> <87fybwhw5a.fsf@laas.fr> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1165278055 16793 80.91.229.10 (5 Dec 2006 00:20:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 5 Dec 2006 00:20:55 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Dec 05 01:20:53 2006 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GrO3I-0008M8-DM for guile-devel@m.gmane.org; Tue, 05 Dec 2006 01:20:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GrO3H-0003Fj-PE for guile-devel@m.gmane.org; Mon, 04 Dec 2006 19:20:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GrO3E-0003FR-AN for guile-devel@gnu.org; Mon, 04 Dec 2006 19:20:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GrO3C-0003F7-KX for guile-devel@gnu.org; Mon, 04 Dec 2006 19:20:47 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GrO3C-0003F4-GU for guile-devel@gnu.org; Mon, 04 Dec 2006 19:20:46 -0500 Original-Received: from [61.8.2.215] (helo=mailout1.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GrO3C-00016o-6f for guile-devel@gnu.org; Mon, 04 Dec 2006 19:20:46 -0500 Original-Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.2.163]) by mailout1.pacific.net.au (Postfix) with ESMTP id 0D4205A0F0F for ; Tue, 5 Dec 2006 11:20:43 +1100 (EST) Original-Received: from localhost (ppp2E12.dyn.pacific.net.au [61.8.46.18]) by mailproxy2.pacific.net.au (Postfix) with ESMTP id 6BAF227405 for ; Tue, 5 Dec 2006 11:20:42 +1100 (EST) Original-Received: from gg by localhost with local (Exim 4.63) (envelope-from ) id 1GrO35-00034q-KS for guile-devel@gnu.org; Tue, 05 Dec 2006 11:20:39 +1100 Original-To: Guile-Devel Mail-Copies-To: never In-Reply-To: <87fybwhw5a.fsf@laas.fr> (Ludovic =?iso-8859-1?Q?Court=E8s's?= message of "Mon, 04 Dec 2006 10:01:53 +0100") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:6287 Archived-At: ludovic.courtes@laas.fr (Ludovic Court=E8s) writes: > > I suspect that this would be suboptimal. SRFI-19 has its own template > format for `date->string', and internally it uses primitives equivalent > to `nl_langinfo (DAY_1)' and the likes (the `priv:locale' functions). No need to worry about the existing internals. strftime may be necessary (at some level) on systems with only localeconv (ie. not nl_langinfo), though I don't know how common that would be or if it's worth taking trouble over. > I don't clearly understand. Could you provide more details for the > novice (perhaps in another thread)? :-) The note in the manual: *Caution*: The current code in this module incorrectly extends the Gregorian calendar leap year rule back prior to the introduction of those reforms in 1582 (or the appropriate year in various countries). The Julian calendar was used prior to 1582, and there were 10 days skipped for the reform, but the code doesn't implement that. So for instance the year 1500 should be a leap year, but isn't in the current code. (If I've got that right off the top of my head ... :-) _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel