bucky ohare - 2010-11-03 10:15:08
Great class for doing lots with the date it's going to be extremely useful.
I've notice the timestamp seems it may be miscalculating. When checking the day number, or week number, it's using the timestamp, and appears to be calculating about 2 days behind.
If I use $this->date, instead of using the timestamp conversion $this->to_unix(), it works perfectly.
Sorry, but I don't know enough about generating the timestamp to know how to fix that.