2pisoftware / cmfive

DEPRECATED! Please see https://github.com/2pisoftware/cmfive-core for new version
http://cmfive.com
4 stars 4 forks source link

getObject returns incorrect timestamps #183

Closed syntithenai closed 8 years ago

syntithenai commented 8 years ago

If I insert a date into the database and query it using unix_timestamp

Seems to me getObjects('WikiPage',(id=>1)) should return the same as getObject('WikiPage',1) but that ain't happening.

adam-buckley commented 8 years ago

Can you post the data that it's returning please?

syntithenai commented 8 years ago

ta for the explanation on the new way to set timezone

adam-buckley commented 8 years ago

For anyone wondering, you now set your timezone using Config::set("system.timezone"); in your project config.