diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-05-14 17:23:56 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-05-14 17:23:56 +0000 |
commit | 9d7405fafd5bc08d38bc75579927bf414570bd61 (patch) | |
tree | 5276114f3f089a70cc9c15c8e95005af585b5149 | |
parent | 1427abd15de37b0f5f02a038c31739d44d9c64a7 (diff) |
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
-rwxr-xr-x | utils/scan-build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/scan-build b/utils/scan-build index 4098990e4c..890f0145a5 100755 --- a/utils/scan-build +++ b/utils/scan-build @@ -40,7 +40,7 @@ sub GetHTMLRunDir { 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. |