summaryrefslogtreecommitdiff
path: root/Help/command/string.rst
diff options
context:
space:
mode:
authorBernhard M. Wiedemann <bwiedemann@suse.de>2017-09-02 20:59:16 +0200
committerBrad King <brad.king@kitware.com>2017-09-07 13:36:11 -0400
commit014ad2989cb145586d6d32d90710a70fb9a23ad9 (patch)
treee04e7ad83dc8fd79e58724cea895d3bf75474a11 /Help/command/string.rst
parentd2a707aaa47cfe123437012f7407c073d48006a2 (diff)
downloadcmake-014ad2989cb145586d6d32d90710a70fb9a23ad9.tar.gz
Timestamp: support %A and %B
These are defined both by [1] and [2] to give full names of a weekday and month. [1] http://pubs.opengroup.org/onlinepubs/009695399/functions/strftime.html [2] https://msdn.microsoft.com/de-de/library/fe06s4ak.aspx
Diffstat (limited to 'Help/command/string.rst')
-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 ba4a412c2e..fb3893f2b1 100644
--- a/Help/command/string.rst
+++ b/Help/command/string.rst
@@ -324,6 +324,7 @@ specifiers:
%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).
+ %B Full month name (e.g. October).
%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.
@@ -331,6 +332,7 @@ specifiers:
%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).
+ %A Full weekday name (e.g. Friday).
%y The last two digits of the current year (00-99)
%Y The current year.