Show the UTC offset in the start and done banner - #3126
Conversation
|
Hi @ChrisJr404 , seems basically a good idea as #1895 refers to UTC too. However either we display everything in UTC or everything in local time (including the timezone then). Maybe with a cmd line switch. As a step to this solution it would be great to not just add the offset but also tell it is an offset, like I read your suggestion first different, i.e. the time shown is in UTC. |
|
PS: OpenBSD is supported too. It also understands also |
|
Thanks for the review. I updated both banners to label the offset the way you suggested, e.g. |
|
That's fine to get merged, thanks. One check failed though. |
|
@ChrisJr404 : could you amend the pattern in L82-86 in |
|
Amended L82-86: the Start and Done banner patterns now also match and normalize the |
|
Thanks! |
The Start and Done banner prints the local time but nothing tells you which timezone that is, so people don't always know how it relates to the UTC times shown elsewhere (like the certificate validity dates). This adds the local UTC offset to the banner so it is obvious at a glance.
Closes #1907.
Example:
I used the numeric
%zoffset because it is portable across GNU and BSD date and it stays correct for the half hour zones like+0530where a "+2h" style gets messy. On a host set to UTC it shows+0000.What is your pull request about?
If it's a code change please check the boxes which are applicable