From 5adaed31c035355ba09c22b25f1b13d40889e3c5 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Sun, 15 Dec 2024 15:40:46 -0600 Subject: [PATCH] Remove seconds from the orig tarball timestamp --- cpp/build-packages.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/build-packages.cpp b/cpp/build-packages.cpp index 9fe0c45..5010bd0 100644 --- a/cpp/build-packages.cpp +++ b/cpp/build-packages.cpp @@ -498,7 +498,7 @@ int main(int argc, char** argv) { std::tm tm_utc; gmtime_r(&t, &tm_utc); char buf_version[20]; - std::strftime(buf_version, sizeof(buf_version), "%Y%m%d%H%M%S", &tm_utc); + std::strftime(buf_version, sizeof(buf_version), "%Y%m%d%H%M", &tm_utc); std::string current_date = buf_version; std::string version; if(!epoch.empty()) {