summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/add.c2
-rwxr-xr-xtest/solver.sh1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/add.c b/src/add.c
index 1fe2c7a..7e15f10 100644
--- a/src/add.c
+++ b/src/add.c
@@ -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();
diff --git a/test/solver.sh b/test/solver.sh
index 4e22f88..bc230c6 100755
--- a/test/solver.sh
+++ b/test/solver.sh
@@ -4,7 +4,6 @@ get_block() {
awk '/^@'$1'/{p=1;next} /^@/{p=0} p{print}'
}
-export TZ=UTC
APK_TEST="../src/apk-test"
TEST_TO_RUN="$@"