summaryrefslogtreecommitdiff
path: root/Source/cmTimestamp.h
diff options
context:
space:
mode:
authorVasiliy Koyrev <ezqc123@gmail.com>2022-10-13 11:55:54 +0300
committerBrad King <brad.king@kitware.com>2022-10-27 11:13:46 -0400
commit9da542d5c1c983b9ea608b7fc04d75826278564f (patch)
tree27aadcd7ed112bf15d18311ab6fcff2d3dafe68b /Source/cmTimestamp.h
parent2954a810ced784b04ec22bcdadb18bd73409c2a2 (diff)
downloadcmake-9da542d5c1c983b9ea608b7fc04d75826278564f.tar.gz
string(TIMESTAMP): Add %z and %Z for adding time zone string
Fixes: #24056
Diffstat (limited to 'Source/cmTimestamp.h')
-rw-r--r--Source/cmTimestamp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmTimestamp.h b/Source/cmTimestamp.h
index ada5006d45..05c6342cb2 100644
--- a/Source/cmTimestamp.h
+++ b/Source/cmTimestamp.h
@@ -32,6 +32,6 @@ private:
time_t CreateUtcTimeTFromTm(struct tm& timeStruct) const;
std::string AddTimestampComponent(char flag, struct tm& timeStruct,
- time_t timeT,
- uint32_t microseconds = 0) const;
+ time_t timeT, bool utcFlag,
+ uint32_t microseconds) const;
};