[cfe-commits] r51109 - /cfe/trunk/utils/scan-build
Ted Kremenek
kremenek at apple.com
Wed May 14 10:23:56 PDT 2008
Author: kremenek
Date: Wed May 14 12:23:56 2008
New Revision: 51109
URL: http://llvm.org/viewvc/llvm-project?rev=51109&view=rev
Log:
Zero-pad the month and day fields in the output HTML directory.
Modified:
cfe/trunk/utils/scan-build
Modified: cfe/trunk/utils/scan-build
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/scan-build?rev=51109&r1=51108&r2=51109&view=diff
==============================================================================
--- cfe/trunk/utils/scan-build (original)
+++ cfe/trunk/utils/scan-build Wed May 14 12:23:56 2008
@@ -40,7 +40,7 @@
my $day = $CurrentTime[3];
my $month = $CurrentTime[4] + 1;
- my $DateString = "$year-$month-$day";
+ my $DateString = sprintf("%d-%02d-%02d", $year, $month, $day);
# Determine the run number.
More information about the cfe-commits
mailing list