4 ms·
> Sunday = 1 Animals. Absolutely barbaric. Everybody knows we should index lists starting at 0. /s
by shakezula 4y ago
> Sunday = 1
Animals. Absolutely barbaric.
Everybody knows we should index lists starting at 0. /s
- stnikolauswagne 4y agoTime to start a movement to consider saturday the as the beginning of the week!
- Dylan16807 4y agoWell by struct tm, Sunday is 0. And months start at 0. And the day of the month starts at 1!
- throwaway2037 4y agoI remember years ago that Larry Wall said about Perl 5->6 upgrade: "We can fix some broken things." This was an item on his big list.
- rieTohgh6 4y agoI remember seeing API that accepted both 0 and 7 as Sunday.
- N19PEDL2 4y agocrontab uses this approach, for example.