Skip to content

community/chezmoi: fix build time

Tom Payne requested to merge twpayne/aports:fix-chezmoi-build-time into master

I noticed that chezmoi's build time embedded in the binary was incorrect:

/ # apk add chezmoi
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz
(1/1) Installing chezmoi (1.8.10-r0)
Executing busybox-1.32.1-r3.trigger
OK: 29 MiB in 15 packages
/ # chezmoi --version
chezmoi version 1.8.10, built at 2020-35-28T11:11:15Z

Note that 2020-35-28 is not a valid date.

This PR fixes the date format in the build time.

Merge request reports