Re: datetime and timezone best practice?

2015-03-22 Thread OJ Tibi - @ojtibi
Hello, I would do something like this. 1. Make sure a timezone string is saved with the user's profile. Once user logs in, the timezone string can now be retrieved using the Auth component ($this->Auth->user('timezone')). 2. Let the user enter the date you need, hopefully in a usable format. 3.

datetime and timezone best practice?

2015-03-20 Thread Andreas Witte
Hello everbody, I would kindly like to attract your attention to a question I wrote on stackoverflow yesterday. http://stackoverflow.com/questions/29127162/how-to-define-timezone-in-cakephp-datetime-form-object Has anyone any best practice tutorial or any advice how to solve it? Thanks in advan