Index: sdk/lib/io/http_date.dart |
diff --git a/sdk/lib/io/http_date.dart b/sdk/lib/io/http_date.dart |
index 9720426d3cd268930d79a3d04ed5dbb955ec71b8..94a329807423169700622591dabf8fcd5ce8fab6 100644 |
--- a/sdk/lib/io/http_date.dart |
+++ b/sdk/lib/io/http_date.dart |
@@ -51,11 +51,11 @@ class HttpDate { |
..write(month[d.month - 1]) |
..write(" ") |
..write(d.year.toString()) |
- ..write(d.hour < 9 ? " 0" : " ") |
+ ..write(d.hour <= 9 ? " 0" : " ") |
..write(d.hour.toString()) |
- ..write(d.minute < 9 ? ":0" : ":") |
+ ..write(d.minute <= 9 ? ":0" : ":") |
..write(d.minute.toString()) |
- ..write(d.second < 9 ? ":0" : ":") |
+ ..write(d.second <= 9 ? ":0" : ":") |
..write(d.second.toString()) |
..write(" GMT"); |
return sb.toString(); |