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.


Reply via email to