From fe3ca4c91fc462a2602ddd1eb69b620f5e85ced2 Mon Sep 17 00:00:00 2001 From: Nikolaus Graf Date: Fri, 30 Aug 2013 07:12:57 -0700 Subject: [PATCH] Removed unused closing brackets in the documentation --- lib/src/relative_time/relative_time_format.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {