Streber stores all dates in the database as GMT string in the form "2006-10-13 23:23:23". This GMT times are displayed in the local time zone of the client. To do this we need to know the time zone offset to from the client's computer to the server.
Autodetection
To solve this problem without having the user adjust his time zone, streber tries to guess. On login it computes the current local time with Javascript and then compares this time with the current server time. This time offset is then stored for each person in the
person table
time_offset-field.
Additionally this table provides a
time_zone for each user. By default this is set to
TIME_OFFSET_AUTO (25) which enables the autodetection. However this could be overwritten by setting this a any other timezone from -12 to +12. (open task:
add time zone drop down list to person profil).
If you have
Admin or
Project Manager-rights, you can compare local / server time and time offset by clicking on "system info" at the footer.
