mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-23 10:27:51 +02:00
GDateTime: Support parsing ISO 8601 strings
This supports a subset of ISO 8601 since that is a commonly used standard for storing date and time information. We support only ISO 8601 strings that contain full date and time information as this would otherwise not map to GDateTime. This subset includes all of RFC 3339 which is commonly used on the Internet and the week and ordinal day formats as these are supported in the GDateTime APIs. (Minor modification by Philip Withnall to change API versions from 2.54 to 2.56.) https://bugzilla.gnome.org/show_bug.cgi?id=753459
This commit is contained in:
committed by
Philip Withnall
parent
d5933142c8
commit
491f835c17
@@ -1667,6 +1667,7 @@ g_date_time_new_from_unix_utc
|
||||
<SUBSECTION>
|
||||
g_date_time_new_from_timeval_local
|
||||
g_date_time_new_from_timeval_utc
|
||||
g_date_time_new_from_iso8601
|
||||
|
||||
<SUBSECTION>
|
||||
g_date_time_new
|
||||
|
Reference in New Issue
Block a user