summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-01-28 14:38:57 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-01-28 14:39:03 (GMT)
commit4ff6ea0f2fcbac87c3317623e7de41cdd506ab17 (patch)
treebdc2b26ab7879bcd5c3610a355c954b975e197bd /Help
parentc2f75492fa78d321dbd8909571672e654d4213a1 (diff)
parentc050d6a01e14500903619589e69a973f1215d109 (diff)
downloadCMake-4ff6ea0f2fcbac87c3317623e7de41cdd506ab17.zip
CMake-4ff6ea0f2fcbac87c3317623e7de41cdd506ab17.tar.gz
CMake-4ff6ea0f2fcbac87c3317623e7de41cdd506ab17.tar.bz2
Merge topic 'timestamp-microseconds'
c050d6a01e string(TIMESTAMP): add %f specifier for microseconds Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6910
Diffstat (limited to 'Help')
-rw-r--r--Help/command/string.rst3
-rw-r--r--Help/release/dev/timestamp-microseconds.rst5
2 files changed, 8 insertions, 0 deletions
diff --git a/Help/command/string.rst b/Help/command/string.rst
index 29ad082..9b707eb 100644
--- a/Help/command/string.rst
+++ b/Help/command/string.rst
@@ -490,6 +490,9 @@ specifiers:
``%S``
The second of the current minute. 60 represents a leap second. (00-60)
+``%f``
+ The microsecond of the current second (000000-999999).
+
``%U``
The week number of the current year (00-53).
diff --git a/Help/release/dev/timestamp-microseconds.rst b/Help/release/dev/timestamp-microseconds.rst
new file mode 100644
index 0000000..0c95eb4
--- /dev/null
+++ b/Help/release/dev/timestamp-microseconds.rst
@@ -0,0 +1,5 @@
+timestamp-microseconds
+----------------------
+
+* The :command:`string(TIMESTAMP)` and :command:`file(TIMESTAMP)` commands now
+ support the ``%f`` specifier for microseconds.