Sorry, I'm bothering you again:

I found another issue with srfi-19:

string->date works as its expected with all full month name but may:

> (string->date "16 de Septiembre de 2007" "~d de ~B de ~Y")
#,(date 0 0 0 0 16 9 2007 -10800 ART #f #f #f #f)
> (string->date "16 de Mayo de 2007" "~d de ~B de ~Y")
Error: (string->date) bad date template - invalid string for indexer: "Mayo"

Now, this works and shouldn't:

> (string->date "16 de may de 2007" "~d de ~B de ~Y")
#,(date 0 0 0 0 16 5 2007 -10800 ART #f #f #f #f)

Seems like a mistake in full month spanish names. But, looking at the
code in svn, in trunk/es/srfi-19 it's well defined:

;; long month
 [..] (may . "Mayo") [..]

(I don't know if that file is just for test purposes or are the true
definition).

(I'm using chicken Version 4.5.0)

Thanks again!
Hugo.


On Wed, Nov 3, 2010 at 1:33 PM, Kon Lovett <klov...@mac.com> wrote:
> Kon

_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to