timeclock
timeclock copied to clipboard
Punches are stored in local timezone
Currently punches are stored in info
in the local timezone instead of GMT. Timeclock should be changed to store all punches in GMT and add another column that specifies the timezone it was created in.
changing // $tz_stamp = mktime ($hour, $min, $sec, $month, $day, $year); // testing better ways $tz_stamp = time ($hour, $min, $sec, $month, $day, $year); and the the same in time clock solved the issue for me.