I have a scenario where each time my application is accessed it gets the client's timezone and sets that as the application's default timezone. The reason for this is because in many of my controllers I output the date/time of a specific event and I want it to be displayed in the client's timezone.

The only problem I have is that this causes Zend_Log to log dates that are not in the server's timezone. That obviously results in an interesting log file where it does not appear to be chronological even though it is.

What is the best way to handle this issue? I'm looking for some ideas and hoping I don't have to refactor all the points where my application outputs a date/time. Thanks for any help!

-Joshua-

Reply via email to