Use local timezone with CLI #210

Merged
Jef Roosens merged 2 commits from Chewing_Bever/vieter:utc-only into dev 2022-05-31 12:55:17 +02:00

It seems that the Docker Engine API always returns UTC times, so luckily, build log start & end times are automatically stored as UTC.

This PR updates the CLI so that it outputs all dates using the proper local timezone. Any input dates are also assumed to be in this format.

Closes #207
Closes #208
Closes #209

It seems that the Docker Engine API always returns UTC times, so luckily, build log start & end times are automatically stored as UTC. This PR updates the CLI so that it outputs all dates using the proper local timezone. Any input dates are also assumed to be in this format. Closes #207 Closes #208 Closes #209
Jef Roosens added this to the 0.3.0 milestone 2022-05-31 12:42:33 +02:00
Jef Roosens added the
enhancement
label 2022-05-31 12:42:33 +02:00
Jef Roosens added 2 commits 2022-05-31 12:42:34 +02:00
ci/woodpecker/pr/docs Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline failed Details
ci/woodpecker/pr/test Pipeline was successful Details
ci/woodpecker/pr/build Pipeline failed Details
ci/woodpecker/pr/docker unknown status Details
754530d519
feat(cli): use correct timezones strings for log info; show build
duration
Jef Roosens force-pushed utc-only from 754530d519 to aded6d438a 2022-05-31 12:46:47 +02:00 Compare
Jef Roosens merged commit ec92b16a73 into dev 2022-05-31 12:55:17 +02:00
Jef Roosens deleted branch utc-only 2022-05-31 12:55:17 +02:00
Sign in to join this conversation.
There is no content yet.