[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] date, string formatting and locale
From: |
Hugo Arregui |
Subject: |
Re: [Chicken-users] date, string formatting and locale |
Date: |
Wed, 3 Nov 2010 22:36:43 -0300 |
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 <address@hidden> wrote:
> Kon
- [Chicken-users] date, string formatting and locale, Hugo Arregui, 2010/11/03
- Re: [Chicken-users] date, string formatting and locale, Peter Bex, 2010/11/03
- Re: [Chicken-users] date, string formatting and locale, Hugo Arregui, 2010/11/03
- Re: [Chicken-users] date, string formatting and locale, Peter Bex, 2010/11/03
- Re: [Chicken-users] date, string formatting and locale, Hugo Arregui, 2010/11/03
- Re: [Chicken-users] date, string formatting and locale, Hugo Arregui, 2010/11/03
- Re: [Chicken-users] date, string formatting and locale, Kon Lovett, 2010/11/03
- Re: [Chicken-users] date, string formatting and locale,
Hugo Arregui <=
Re: [Chicken-users] date, string formatting and locale, Thomas Chust, 2010/11/03