Chromium Code Reviews| Index: lib/i18n/date_format.dart |
| =================================================================== |
| --- lib/i18n/date_format.dart (revision 8354) |
| +++ lib/i18n/date_format.dart (working copy) |
| @@ -244,9 +244,9 @@ |
| /** |
| * Formats a String indicating how long ago (negative [duration]) or how far |
|
Bob Nystrom
2012/06/06 22:22:48
I would either put "String" in [] or make it lower
Emily Fortuna
2012/06/06 22:51:43
Done.
|
| * in the future (positive [duration]) some time is with respect to a |
| - * reference [date]. The [duration] is expressed in miliseconds. |
| + * reference [date]. |
| */ |
| - String formatDurationFrom(num duration, Date date) { |
| + String formatDurationFrom(Duration duration, Date date) { |
| return ''; |
| } |
| } |