Actions
Enhancement #420
openAdd per-bip-user TZ setting
Start date:
2014-12-16
Due date:
% Done:
0%
Estimated time:
Patch Available:
Found in Versions:
Confirmed:
No
Branch:
Security:
Help Needed:
Description
Currently when a user is sent backlog he/she has the option to request for said backlog to have each line preceded by a timestamp. The timestamp feature is not as useful if there are users of bip in timezones other than the running server.
I propose to add a key to each user config for the tz of each user and then make tz conversion before timestamping backlog lines.
The simplest way to do this is to call tzset before localtime but this does not seem to be isolated for that run but instead make a system wide tz change.
The slightly less simple way is to get utc time and shift it by +-tz.
I have not found standard functions to make time into a struct in time other than gmt or local but I am sure Ill find something.
Actions