[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
22 Feb 2002 23:02:55 +0000
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7
>>>>> "Sebastien" == Sebastien deMentendeHorne <address@hidden> writes:
Sebastien> Hi, I am using the srfi-19 under guile (1.5.4) but I
Sebastien> have weird behaviour like:
Sebastien> (define d (string->date "01 08 2003" "~d ~m ~Y"))
Sebastien> (date-week-number d 0)
Sebastien> => 4
Sebastien> Shouldn't it be around the 28th week of the year ?
Sebastien> Is the implementation buggy under guile ?
Yes. I've found and fixed one problem, with the result that we now
get 34 rather than 4. But it's still wrong, because of confusion
about whether the fields in the date record should be 0-based or
Does anyone know what the design is here (0-based or 1-based)?
(Perhaps the srfi-19 document says; I'm offline at the moment, so I
- srfi-19, Sebastien . deMentendeHorne, 2002/02/22
- Re: srfi-19,
Neil Jerram <=