diff options
author | Vasiliy Koyrev <ezqc123@gmail.com> | 2022-10-13 11:55:54 +0300 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-10-27 11:13:46 -0400 |
commit | 9da542d5c1c983b9ea608b7fc04d75826278564f (patch) | |
tree | 27aadcd7ed112bf15d18311ab6fcff2d3dafe68b /Source/cmTimestamp.h | |
parent | 2954a810ced784b04ec22bcdadb18bd73409c2a2 (diff) | |
download | cmake-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.h | 4 |
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; }; |