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
Owner

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
feat(cli): use correct timezones strings for log info; show build
Some checks failed
ci/woodpecker/pr/docs Pipeline was successful
ci/woodpecker/pr/lint Pipeline failed
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/build Pipeline failed
ci/woodpecker/pr/docker unknown status
754530d519
duration
Jef Roosens force-pushed utc-only from 754530d519
Some checks failed
ci/woodpecker/pr/docs Pipeline was successful
ci/woodpecker/pr/lint Pipeline failed
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/build Pipeline failed
ci/woodpecker/pr/docker unknown status
to aded6d438a
All checks were successful
ci/woodpecker/pr/docs Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/docker Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
2022-05-31 12:46:47 +02:00
Compare
Jef Roosens deleted branch utc-only 2022-05-31 12:55:17 +02:00
Commenting is not possible because the repository is archived.
No description provided.