timeclock icon indicating copy to clipboard operation
timeclock copied to clipboard

$use_client_tz is not working correctly

Open andrew867 opened this issue 9 years ago • 1 comments

A DB column added to the user and set each user's home timezone independently of the server. You could then use the date_default_timezone_set() function with the returned user timezone.

Relying on Javascript to set a timezone and cookie is just asking for trouble. This is good for a company who has users in different areas.

Adding onto the new DB column fix, adding an option to enable a 'select current timezone' dropdown on the punch in/out page that would override the user selected and server timezone. This is good for users who are on the road.

andrew867 avatar Dec 29 '15 20:12 andrew867

I can confirm, setting timezone, and leaving tzdata from client, causes the browser to go into a refresh loop, any other setting forces the times to GMT no matter what timezone is set. Its not only the reports, but clock in/out as well.

ddziubanski avatar Apr 10 '16 22:04 ddziubanski