diff options
author | Brad King <brad.king@kitware.com> | 2017-09-11 11:49:32 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-09-11 11:49:40 (GMT) |
commit | bf19bb5609b409c9c4043b22a7bbdb38354af73a (patch) | |
tree | b0adea156126908463528e46815d3d38b798fe02 /Help | |
parent | 15b26ace186f08625337d59328ce5d7190cd5384 (diff) | |
parent | 014ad2989cb145586d6d32d90710a70fb9a23ad9 (diff) | |
download | CMake-bf19bb5609b409c9c4043b22a7bbdb38354af73a.zip CMake-bf19bb5609b409c9c4043b22a7bbdb38354af73a.tar.gz CMake-bf19bb5609b409c9c4043b22a7bbdb38354af73a.tar.bz2 |
Merge topic 'timestamp'
014ad298 Timestamp: support %A and %B
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1228
Diffstat (limited to 'Help')
-rw-r--r-- | Help/command/string.rst | 2 | ||||
-rw-r--r-- | Help/release/dev/timestamp.rst | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Help/command/string.rst b/Help/command/string.rst index ba4a412..fb3893f 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. diff --git a/Help/release/dev/timestamp.rst b/Help/release/dev/timestamp.rst new file mode 100644 index 0000000..e40009e --- /dev/null +++ b/Help/release/dev/timestamp.rst @@ -0,0 +1,5 @@ +timestamp +--------- + +* The :command:`string(TIMESTAMP)` command now supports ``%A`` + for full weekday name and ``%B`` for full month name. |