cusy.gitlabtime¶
Create reports from gitlab time tracking.
Free software: MIT license
Usage¶
See $ cusy.gitlabtime –help.
Options can be pre-specified as environment variables, e.g. the default value of –url is taken from GITLABTIME_URL.
Dates¶
Timestamps are reported by Gitlab as time-zone aware. However, time tracking notes include a date that is unaware of time zones. As we cannot avoid dealing with both, and we don’t know the details of how Gitlab converts between them, we cannot guarantee consistency of the tracking data as meant by the user who entered their quick actions.
We can only try to be consistent in how to interpret times and dates as reported by the Gitlab API. So, whenever having to extract a date from a timestamp, it is as a good a guess as any to just ignore the time zone, hoping that this is what Gitlab itself does when producing those plain dates, and that it does so using the same time zone as for reporting timestamps.