diff options
author | Max Rees <maxcrees@me.com> | 2019-07-09 01:45:24 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-11-18 16:46:57 +0100 |
commit | 800488a1ef171da1f9c178aa57e87b2aac68463b (patch) | |
tree | 8e00a56117a9501f6ca170265975fb6b0f1b640c /src/add.c | |
parent | f8d5aa58f9af512f5f04a5fe4dce479709be32ba (diff) | |
download | apk-tools-800488a1ef171da1f9c178aa57e87b2aac68463b.tar.gz apk-tools-800488a1ef171da1f9c178aa57e87b2aac68463b.tar.bz2 apk-tools-800488a1ef171da1f9c178aa57e87b2aac68463b.tar.xz apk-tools-800488a1ef171da1f9c178aa57e87b2aac68463b.zip |
add: always use UTC for virtual package versions
Diffstat (limited to 'src/add.c')
-rw-r--r-- | src/add.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(); |