|
You're quite right - it happened on ours, too, and I fixed it yesterday -- as you say, I had a bug in the code that checks February has 28/29 days - unfortunately I forgot that UNIX numbers months from 0-11 rather than 1-12. Oops. You're probably right that using timelocal() like that is a more elegant solution...
I already have a fixed script with the correct ==1 rather than ==2, but I see you've corrected your copy. I'll be posting an amended version soon.
_________________ Steve Shipway UNIX Systems, ITSS, University of Auckland, NZ Woe unto them that rise up early in the morning... -- Isaiah 5:11
|