Dave Rolsky skribis 2005-07-05 11:41 (-0500): > >* .month and .wday are one-based. Sunday == 1. Haskell has them as > > enums which avoids off-by one confusion completely; I made them like > > I did because that's like humans think of them. > And yes again!
No. Humans don't USE numbers for week days! So beginning at 1 makes no sense, except for humans who like creating lists like (undef, <Sunday Monday ...>). In fact, I would prefer <Saturday Sunday Monday ...> to not having any 0 :) Now, for months, yes it does make lots of sense. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html