After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 651168 - [PATCH] add g_date_set_iso_8601()
[PATCH] add g_date_set_iso_8601()
Status: RESOLVED WONTFIX
Product: glib
Classification: Platform
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2011-05-26 16:24 UTC by Guillaume Emont (guijemont)
Modified: 2017-11-16 10:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gdate.c: add g_date_set_iso_8601() (4.42 KB, patch)
2011-05-26 16:24 UTC, Guillaume Emont (guijemont)
none Details | Review

Description Guillaume Emont (guijemont) 2011-05-26 16:24:35 UTC
Created attachment 188682 [details] [review]
gdate.c: add g_date_set_iso_8601()

This is a new method to set the year, month and day of a GDate from an ISO 8601 formatted date.
This is complementary to g_time_val_from_iso8601(), which handles date and times specified in the ISO 8601 format, and is the equivalent for date only.
Comment 1 Robert Ancell 2016-08-25 00:23:24 UTC
May be unnecessary with GDateTime ISO 8601 support? (bug 753459)
Comment 2 Philip Withnall 2017-11-16 10:52:00 UTC
Yes, GDateTime mostly replaces GDate, so I think this can be considered implemented by bug #753459. If someone comes up with a compelling argument for adding ISO 8601 support to GDate, the bug can be reopened and the patch resurrected.