Fix documentation of DateTime.parse zone offsets

Change-Id: I8435a3d1cf2955eb0195c1a46d97372d05494ea9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/109965
Reviewed-by: Leaf Petersen <leafp@google.com>
This commit is contained in:
William Hesse 2019-07-24 12:57:37 +00:00
parent 82f657d7cb
commit af6edd1040

View file

@ -248,7 +248,7 @@ class DateTime implements Comparable<DateTime> {
* 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