Index: pkg/intl/example/basic/basic_example.dart |
diff --git a/pkg/intl/example/basic/basic_example.dart b/pkg/intl/example/basic/basic_example.dart |
index e8e99d666393b58226c2f5ca8523f67a0273a53d..0ac9c205b9a783e7fbbc82848d6b6f05ef5e254f 100644 |
--- a/pkg/intl/example/basic/basic_example.dart |
+++ b/pkg/intl/example/basic/basic_example.dart |
@@ -46,7 +46,7 @@ void setup(Function program, Function output) { |
// futures have completed. We are passed the collection of futures, but we |
// don't need to use them, so ignore the parameter. |
runProgram(List<Future> _) { |
- var aDate = new Date.fromMillisecondsSinceEpoch(0, isUtc: true); |
+ var aDate = new DateTime.fromMillisecondsSinceEpoch(0, isUtc: true); |
var de = new Intl('de_DE'); |
var th = new Intl('th_TH'); |
// This defines a message that can be internationalized. It is written as a |