summaryrefslogtreecommitdiff
path: root/src/add.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/add.c')
-rw-r--r--src/add.c2
1 files changed, 1 insertions, 1 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();