| Index: pkg/intl/lib/src/date_format_field.dart
|
| diff --git a/pkg/intl/lib/src/date_format_field.dart b/pkg/intl/lib/src/date_format_field.dart
|
| index 14990e69ee7343192f30264a4e3ef1a198cde1b7..bf8f8100f8e04f9f15ade4cf4a045832d1d091d0 100644
|
| --- a/pkg/intl/lib/src/date_format_field.dart
|
| +++ b/pkg/intl/lib/src/date_format_field.dart
|
| @@ -88,7 +88,7 @@ class _DateFormatQuotedField extends _DateFormatField {
|
| }
|
|
|
| void patchQuotes() {
|
| - if (pattern == "''") {
|
| + if (pattern == "''") {
|
| pattern = "'";
|
| } else {
|
| pattern = pattern.substring(1, pattern.length - 1);
|
| @@ -109,7 +109,7 @@ class _DateFormatPatternField extends _DateFormatField {
|
|
|
| /** Format date according to our specification and return the result. */
|
| String format(DateTime date) {
|
| - return formatField(date);
|
| + return formatField(date);
|
| }
|
|
|
| /**
|
| @@ -418,7 +418,7 @@ class _DateFormatPatternField extends _DateFormatField {
|
| throw new UnimplementedError();
|
| }
|
|
|
| - /**
|
| + /**
|
| * Return a string representation of the object padded to the left with
|
| * zeros. Primarily useful for numbers.
|
| */
|
| @@ -428,7 +428,7 @@ class _DateFormatPatternField extends _DateFormatField {
|
| var buffer = new StringBuffer();
|
| for (var i = 0; i < width - basicString.length; i++) {
|
| buffer.write('0');
|
| - }
|
| + }
|
| buffer.write(basicString);
|
| return buffer.toString();
|
| }
|
|
|