mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-25 10:18:34 -06:00
string(TIMESTAMP): Add %V specifier for ISO 8601 week number
In ISO 8601 weeks begin with Monday. The first week of the year is the week which contains the first Thursday of the year.
This commit is contained in:
@@ -493,6 +493,11 @@ specifiers:
|
||||
``%U``
|
||||
The week number of the current year (00-53).
|
||||
|
||||
``%V``
|
||||
.. versionadded:: 3.22
|
||||
|
||||
The ISO 8601 week number of the current year (01-53).
|
||||
|
||||
``%w``
|
||||
The day of the current week. 0 is Sunday. (0-6)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user