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 /Help | |
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 'Help')
-rw-r--r-- | Help/command/string.rst | 1 | ||||
-rw-r--r-- | Help/release/dev/timestamp-percent.rst | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Help/command/string.rst b/Help/command/string.rst index 2c7847a..698a91d 100644 --- a/Help/command/string.rst +++ b/Help/command/string.rst @@ -296,6 +296,7 @@ specifiers: :: + %% A literal percent sign (%). %d The day of the current month (01-31). %H The hour on a 24-hour clock (00-23). %I The hour on a 12-hour clock (01-12). diff --git a/Help/release/dev/timestamp-percent.rst b/Help/release/dev/timestamp-percent.rst new file mode 100644 index 0000000..046d6c5 --- /dev/null +++ b/Help/release/dev/timestamp-percent.rst @@ -0,0 +1,5 @@ +timestamp-percent +----------------- + +* The :command:`string(TIMESTAMP)` command learned to treat ``%%`` + as a way to encode plain ``%``. |