summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-01-30 13:43:21 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2017-01-30 13:43:21 (GMT)
commit5c6c766da1b30f2d886ba369a4c407e575ee1ccf (patch)
treebf001e4a08efd08516a0756736d8ccd98e4c9009 /Help
parente6659f6323c75331f15fe93bb8d060ec03729738 (diff)
parent6c54f7b3655737406c53fa1e4fc1d8f4cc22f9f9 (diff)
downloadCMake-5c6c766da1b30f2d886ba369a4c407e575ee1ccf.zip
CMake-5c6c766da1b30f2d886ba369a4c407e575ee1ccf.tar.gz
CMake-5c6c766da1b30f2d886ba369a4c407e575ee1ccf.tar.bz2
Merge topic 'timestamp-percent'
6c54f7b3 string: Teach TIMESTAMP to treat %% as %
Diffstat (limited to 'Help')
-rw-r--r--Help/command/string.rst1
-rw-r--r--Help/release/dev/timestamp-percent.rst5
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 ``%``.