timeclock
timeclock copied to clipboard
$use_client_tz is not working correctly
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.
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.