Commit 15ecc3d6 authored by A. Wilcox's avatar A. Wilcox

Merge UTC fix from @sroracle

add: always use UTC for virtual package versions

See merge request !1
parents 530a6e68 e4554c09
......@@ -90,7 +90,7 @@ static struct apk_package *create_virtual_package(struct apk_database *db, struc
time_t now = apk_time();
pid_t pid = getpid();
localtime_r(&now, &tm);
gmtime_r(&now, &tm);
strftime(ver, sizeof ver, "%Y%m%d.%H%M%S", &tm);
virtpkg = apk_pkg_new();
......@@ -4,7 +4,6 @@ get_block() {
awk '/^@'$1'/{p=1;next} /^@/{p=0} p{print}'
export TZ=UTC
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment