Commit a50a08fd authored by Philip Withnall's avatar Philip Withnall

Merge branch 'datetime-docs' into 'master'

gdatetime: Document RFC 3339 extensions when parsing ISO 8601

See merge request !1082
parents 168bdb11 ea98aab5
Pipeline #122377 passed with stages
in 23 minutes and 11 seconds
......@@ -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:
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment