Oops, very true. I thought somewhere I read that January 1st was yday=1. Probably I imagined it.
Fixed.