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.