diff --git a/lib/src/relative_time/relative_time_format.dart b/lib/src/relative_time/relative_time_format.dart index b7dc41f..3ae1954 100644 --- a/lib/src/relative_time/relative_time_format.dart +++ b/lib/src/relative_time/relative_time_format.dart @@ -52,8 +52,8 @@ class DurationFormat extends _RelativeTimeFormat { /// var ageFormat = new AgeFormat(locale: localeData.locale); /// var now = new DateTime.now(); /// var twoHours = const Duration(hours: 2); -/// print(ageFormat.format(now.add(twoHours)))); // "In 2 hours" -/// print(ageFormat.format(now.subtract(twoHours)))); // "2 hours ago" +/// print(ageFormat.format(now.add(twoHours))); // "In 2 hours" +/// print(ageFormat.format(now.subtract(twoHours))); // "2 hours ago" /// [1]: http://cldr.unicode.org/translation/plurals#TOC-Past-and-Future class AgeFormat extends _RelativeTimeFormat {