mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 08:24:39 +00:00
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:
parent
82f657d7cb
commit
af6edd1040
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue