mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-04 10:16:17 +01:00
gdatetime: Document RFC 3339 extensions when parsing ISO 8601
This is a follow-up to !1017. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
168bdb11ca
commit
ea98aab57b
@ -1429,9 +1429,13 @@ parse_iso8601_time (const gchar *text, gsize length,
|
||||
*
|
||||
* Creates a #GDateTime corresponding to the given
|
||||
* [ISO 8601 formatted string](https://en.wikipedia.org/wiki/ISO_8601)
|
||||
* @text. ISO 8601 strings of the form <date><sep><time><tz> are supported.
|
||||
* @text. ISO 8601 strings of the form <date><sep><time><tz> are supported, with
|
||||
* some extensions from [RFC 3339](https://tools.ietf.org/html/rfc3339) as
|
||||
* mentioned below.
|
||||
*
|
||||
* <sep> is the separator and can be either 'T', 't' or ' '.
|
||||
* <sep> is the separator and can be either 'T', 't' or ' '. The latter two
|
||||
* separators are an extension from
|
||||
* [RFC 3339](https://tools.ietf.org/html/rfc3339#section-5.6).
|
||||
*
|
||||
* <date> is in the form:
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user