diff options
author | Ruslan Baratov <ruslan_baratov@yahoo.com> | 2016-09-09 21:39:26 (GMT) |
---|---|---|
committer | Ruslan Baratov <ruslan_baratov@yahoo.com> | 2016-09-12 16:07:38 (GMT) |
commit | 751f7b5255d861abc3105d3d971164293b3dec60 (patch) | |
tree | c8befd48a7df36fa6c7a25eb6922801170536478 /Source/cmTimestamp.cxx | |
parent | d5e4cdc0f8c846cdf17f3276d77d352a7644bc88 (diff) | |
download | CMake-751f7b5255d861abc3105d3d971164293b3dec60.zip CMake-751f7b5255d861abc3105d3d971164293b3dec60.tar.gz CMake-751f7b5255d861abc3105d3d971164293b3dec60.tar.bz2 |
string(TIMESTAMP ...): add '%a' and '%b' format specifiers
%b: Abbreviated month name (e.g. Oct).
%a: Abbreviated weekday name (e.g. Fri).
Diffstat (limited to 'Source/cmTimestamp.cxx')
-rw-r--r-- | Source/cmTimestamp.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmTimestamp.cxx b/Source/cmTimestamp.cxx index 61b74db..a94212c 100644 --- a/Source/cmTimestamp.cxx +++ b/Source/cmTimestamp.cxx @@ -123,6 +123,8 @@ std::string cmTimestamp::AddTimestampComponent(char flag, formatString += flag; switch (flag) { + case 'a': + case 'b': case 'd': case 'H': case 'I': |