You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add flag to set the timezone on reports (#253)
* feat: Add flag to set the timezone on reports
By default all the dates are in UTC, this commit adds a new flag: '--time-zone'
or '-z' that allows the user to pass a timezone.
This is a breaking change, now, by default the used timezone is 'local', meaning
the value returned by 'time.local'.
Examples:
- Madrid Timezone: -z Europe/Madrid
- Current timezone: -z local
A full list of timezones can be found here: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
This can fix some issues reported in #135.
Signed-off-by: Arturo Volpe <[email protected]>
* chore: Apply suggestions from code review
Co-authored-by: Lucas dos Santos Abreu <[email protected]>
* chore: test
* feat: timezone as config
* feat: link flag and config
* fix: redundant
* feat: changelog
* fix: time-zone => tz
---------
Signed-off-by: Arturo Volpe <[email protected]>
Co-authored-by: Lucas dos Santos Abreu <[email protected]>
0 commit comments