Skip to content

Commit af6edd1

Browse files
committed
Fix documentation of DateTime.parse zone offsets
Change-Id: I8435a3d1cf2955eb0195c1a46d97372d05494ea9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/109965 Reviewed-by: Leaf Petersen <[email protected]>
1 parent 82f657d commit af6edd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/lib/core/date_time.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ class DateTime implements Comparable<DateTime> {
248248
* part and an optional two digit minute part. The sign must be either
249249
* "+" or "-", and can not be omitted.
250250
* The minutes may be separated from the hours by a ':'.
251-
* Examples: "Z", "-10", "01:30", "1130".
251+
* Examples: "Z", "-10", "+01:30", "+1130".
252252
*
253253
* This includes the output of both [toString] and [toIso8601String], which
254254
* will be parsed back into a `DateTime` object with the same time as the

0 commit comments

Comments
 (0)