summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorRuslan Baratov <ruslan_baratov@yahoo.com>2016-09-09 21:39:26 (GMT)
committerRuslan Baratov <ruslan_baratov@yahoo.com>2016-09-12 16:07:38 (GMT)
commit751f7b5255d861abc3105d3d971164293b3dec60 (patch)
treec8befd48a7df36fa6c7a25eb6922801170536478 /Help
parentd5e4cdc0f8c846cdf17f3276d77d352a7644bc88 (diff)
downloadCMake-751f7b5255d861abc3105d3d971164293b3dec60.zip
CMake-751f7b5255d861abc3105d3d971164293b3dec60.tar.gz
CMake-751f7b5255d861abc3105d3d971164293b3dec60.tar.bz2
string(TIMESTAMP ...): add '%a' and '%b' format specifiers
%b: Abbreviated month name (e.g. Oct). %a: Abbreviated weekday name (e.g. Fri).
Diffstat (limited to 'Help')
-rw-r--r--Help/command/string.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Help/command/string.rst b/Help/command/string.rst
index 19a095a..8028333 100644
--- a/Help/command/string.rst
+++ b/Help/command/string.rst
@@ -278,12 +278,14 @@ specifiers:
%I The hour on a 12-hour clock (01-12).
%j The day of the current year (001-366).
%m The month of the current year (01-12).
+ %b Abbreviated month name (e.g. Oct).
%M The minute of the current hour (00-59).
%s Seconds since midnight (UTC) 1-Jan-1970 (UNIX time).
%S The second of the current minute.
60 represents a leap second. (00-60)
%U The week number of the current year (00-53).
%w The day of the current week. 0 is Sunday. (0-6)
+ %a Abbreviated weekday name (e.g. Fri).
%y The last two digits of the current year (00-99)
%Y The current year.