commit | 9d7405fafd5bc08d38bc75579927bf414570bd61 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Wed May 14 17:23:56 2008 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Wed May 14 17:23:56 2008 +0000 |
tree | 5276114f3f089a70cc9c15c8e95005af585b5149 | |
parent | 1427abd15de37b0f5f02a038c31739d44d9c64a7 [diff] [blame] |
Zero-pad the month and day fields in the output HTML directory. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51109 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/scan-build b/utils/scan-build index 4098990..890f014 100755 --- a/utils/scan-build +++ b/utils/scan-build
@@ -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.