summaryrefslogtreecommitdiffstats
path: root/Source/cmTimestamp.cxx
diff options
context:
space:
mode:
authorRuslan Baratov <ruslan_baratov@yahoo.com>2016-09-09 21:39:26 (GMT)
committerRuslan Baratov <ruslan_baratov@yahoo.com>2016-09-12 16:07:38 (GMT)
commit751f7b5255d861abc3105d3d971164293b3dec60 (patch)
treec8befd48a7df36fa6c7a25eb6922801170536478 /Source/cmTimestamp.cxx
parentd5e4cdc0f8c846cdf17f3276d77d352a7644bc88 (diff)
downloadCMake-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.cxx2
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':