Index: sdk/lib/io/http_date.dart |
diff --git a/sdk/lib/io/http_date.dart b/sdk/lib/io/http_date.dart |
index 94a329807423169700622591dabf8fcd5ce8fab6..9bf81973a16d639b50c121af8c5bd60a67121646 100644 |
--- a/sdk/lib/io/http_date.dart |
+++ b/sdk/lib/io/http_date.dart |
@@ -46,6 +46,7 @@ class HttpDate { |
StringBuffer sb = new StringBuffer() |
..write(wkday[d.weekday - 1]) |
..write(", ") |
+ ..write(d.day <= 9 ? "0" : "") |
..write(d.day.toString()) |
..write(" ") |
..write(month[d.month - 1]) |