diff options
author | Antons Jeļkins <Antons.Jelkins@bmw.de> | 2021-07-21 13:52:45 (GMT) |
---|---|---|
committer | Antons Jeļkins <Antons.Jelkins@bmw.de> | 2021-08-02 14:31:53 (GMT) |
commit | aafa392c12f6fe04893bc5327af429f5321fbb9d (patch) | |
tree | c91285a67da474d5e21ca96d025d2823fa8260ef /Help/command/string.rst | |
parent | a915f691adbcac96bd5c3d421ef519900ee79c02 (diff) | |
download | CMake-aafa392c12f6fe04893bc5327af429f5321fbb9d.zip CMake-aafa392c12f6fe04893bc5327af429f5321fbb9d.tar.gz CMake-aafa392c12f6fe04893bc5327af429f5321fbb9d.tar.bz2 |
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.
Diffstat (limited to 'Help/command/string.rst')
-rw-r--r-- | Help/command/string.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/command/string.rst b/Help/command/string.rst index 6fac0e6..29ad082 100644 --- a/Help/command/string.rst +++ b/Help/command/string.rst @@ -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) |