ZF-7454: Timezone and Zend_Date

Issue Type: Bug Created: 2009-08-03T06:05:47.000+0000 Last Updated: 2009-08-14T15:41:39.000+0000 Status: Resolved Fix version(s): - 1.9.2 (25/Aug/09)

Reporter: Gabriele Carabella (orxor) Assignee: Thomas Weidner (thomas) Tags: - Zend_Date

Related issues: Attachments:


I found a problem with Zend_Date and date_default_timezone_set php's function.

Here the code:

Now, if I remove the line date\_default\_timezone\_set("Europe/Rome"); or if I change the date (es 24/05/2010) the problem disappear. I also can resolve the problem if I change timezone, for example if I use Europe/Berlin


Posted by Thomas Weidner (thomas) on 2009-08-14T15:41:38.000+0000

Fixed with r17610.

Note: The problem is not the timezone set function. The problem was that you checked a date without giving a time by setting a invalid format ("" - empty string) at DST change.

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.