diff options
author | Bernhard M. Wiedemann <bwiedemann@suse.de> | 2017-01-27 13:12:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-01-27 14:25:37 (GMT) |
commit | 6c54f7b3655737406c53fa1e4fc1d8f4cc22f9f9 (patch) | |
tree | f49afc910a51bc05b10a2b978b691ef5d5f73e85 /Source | |
parent | 325c6153088c673569971958f107f6cb97b67c50 (diff) | |
download | CMake-6c54f7b3655737406c53fa1e4fc1d8f4cc22f9f9.zip CMake-6c54f7b3655737406c53fa1e4fc1d8f4cc22f9f9.tar.gz CMake-6c54f7b3655737406c53fa1e4fc1d8f4cc22f9f9.tar.bz2 |
string: Teach TIMESTAMP to treat %% as %
This encoding is documented by `strptime`.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmTimestamp.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTimestamp.cxx b/Source/cmTimestamp.cxx index 1e5ac5b..3d42e26 100644 --- a/Source/cmTimestamp.cxx +++ b/Source/cmTimestamp.cxx @@ -136,6 +136,7 @@ std::string cmTimestamp::AddTimestampComponent(char flag, case 'w': case 'y': case 'Y': + case '%': break; case 's': // Seconds since UNIX epoch (midnight 1-jan-1970) { |