Remove broken attempt at parsing date-only
authorMatthias Clasen <mclasen@redhat.com>
Sun, 29 Dec 2013 18:43:28 +0000 (13:43 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 1 Jan 2014 22:59:21 +0000 (17:59 -0500)
commit27e352985bf0734e9209e8052dc966a05e6bfae1
tree538c3996e1a61b298499330ada91e1439eb332ae
parent680c348bb4f7b815ff58a48df915f67e175dea4f
Remove broken attempt at parsing date-only

g_time_val_from_iso8601 was attempting to parse strings
having only a date, but failed to actually set the timeval
despite returning TRUE. Since the docs state that the function
only parses strings containing a date and a time, just return
FALSE in this case.

Also remove an incomplete testcase for this behaviour that was
just checking the boolean return value, but not timeval.
glib/gtimer.c
tests/testglib.c