Posted by Mike on 03/29/06 22:23
Yeah, discovered the hard way, got an email from the clients and boss
wondering why one of our date related pages which change every Sunday
was 404-ing.
I'm still unconvinced that it's not a bug though, I think strtotime()
should take that into account and produce the appropriate timestamp
which would result in the date being the 26 March. Simply because I
wanted to know what the timestamp was for 'last Sunday' and anything
which produces a timestamp for anything that's not last Sunday is wrong
IMHO.
Navigation:
[Reply to this message]
|