summaryrefslogtreecommitdiffstats
path: root/Source/cmTimestamp.cxx
diff options
context:
space:
mode:
authorBernhard M. Wiedemann <bwiedemann@suse.de>2017-09-02 18:59:16 (GMT)
committerBrad King <brad.king@kitware.com>2017-09-07 17:36:11 (GMT)
commit014ad2989cb145586d6d32d90710a70fb9a23ad9 (patch)
treee04e7ad83dc8fd79e58724cea895d3bf75474a11 /Source/cmTimestamp.cxx
parentd2a707aaa47cfe123437012f7407c073d48006a2 (diff)
downloadCMake-014ad2989cb145586d6d32d90710a70fb9a23ad9.zip
CMake-014ad2989cb145586d6d32d90710a70fb9a23ad9.tar.gz
CMake-014ad2989cb145586d6d32d90710a70fb9a23ad9.tar.bz2
Timestamp: support %A and %B
These are defined both by [1] and [2] to give full names of a weekday and month. [1] http://pubs.opengroup.org/onlinepubs/009695399/functions/strftime.html [2] https://msdn.microsoft.com/de-de/library/fe06s4ak.aspx
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 4dea24c..9fb79d9 100644
--- a/Source/cmTimestamp.cxx
+++ b/Source/cmTimestamp.cxx
@@ -123,7 +123,9 @@ std::string cmTimestamp::AddTimestampComponent(char flag,
switch (flag) {
case 'a':
+ case 'A':
case 'b':
+ case 'B':
case 'd':
case 'H':
case 'I':