From af6edd10400737c739dbcd3e47b939a1052dcb2f Mon Sep 17 00:00:00 2001 From: William Hesse Date: Wed, 24 Jul 2019 12:57:37 +0000 Subject: [PATCH] Fix documentation of DateTime.parse zone offsets Change-Id: I8435a3d1cf2955eb0195c1a46d97372d05494ea9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/109965 Reviewed-by: Leaf Petersen --- sdk/lib/core/date_time.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/lib/core/date_time.dart b/sdk/lib/core/date_time.dart index 00ea5a45604..dd242de5a4d 100644 --- a/sdk/lib/core/date_time.dart +++ b/sdk/lib/core/date_time.dart @@ -248,7 +248,7 @@ class DateTime implements Comparable { * part and an optional two digit minute part. The sign must be either * "+" or "-", and can not be omitted. * The minutes may be separated from the hours by a ':'. - * Examples: "Z", "-10", "01:30", "1130". + * Examples: "Z", "-10", "+01:30", "+1130". * * This includes the output of both [toString] and [toIso8601String], which * will be parsed back into a `DateTime` object with the same time as the