ZF-12060: Add time_zone setting for Zend_Db_Abstract

Issue Type: Improvement Created: 2012-02-15T15:51:29.000+0000 Last Updated: 2012-02-15T15:51:29.000+0000 Status: Open Fix version(s): Reporter: Cristian Bichis (avantis) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Application

  • Zend_Db

Related issues: Attachments:



Similar with adding charset option I think worth to add as well an option to set the db timezone.

Currently this option is possible to be set with something like this:

'driver_options'=>array('MYSQLI_INIT_COMMAND' => "set time_zone = '+00:00'")

But this is MYSQLI only setting so I suggest to add a way to set this easily no matter what adapter is in use.


No comments to display

Have you found an issue?

See the Overview section for more details.


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

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