mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-26 00:00:39 -05:00
Merge topic 'timestamp'
014ad298 Timestamp: support %A and %B
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1228
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp
|
||||
---------
|
||||
|
||||
* The :command:`string(TIMESTAMP)` command now supports ``%A``
|
||||
for full weekday name and ``%B`` for full month name.
|
||||
Reference in New Issue
Block a user