Thread: Zend_Date bug?
View Single Post
  #4 (permalink)  
Old 08-04-2008, 06:22 PM
thomas thomas is offline
Member
 
Join Date: Aug 2008
Posts: 57
Default

@wudz: Your problem is the timezone in addition with the array syntax. This has been fixed in the latest release.

@thedave: reusing a object you need to give a complete date first before doing any calculations

@ewok: Your end-of-month calculation can not work. When adding a month with different daylengths you will have eighter the 31 of the same month or the 1st of the next month... february will brake also all. Just doing a little basic math will show that this can not work as you want.

This can be done by adding 1 month, setting 1st of month, substract one day... all oter ways will not work properly.
__________________
Greetings
Thomas Weidner
I18N Team Leader, Zend Framework
http://www.thomasweidner.com
Reply With Quote