[PATCH] fix g_time_val_from_iso8601() support for date without time specified
Submitted by Guillaume Emont (guijemont)
Link to original bug (#650968)
Description
Created attachment 188457 Small test program that reproduces the bug.
If the iso_date parameter is a date without time, such as "2011-05-24", g_time_val_from_iso8601() returns TRUE without modifying the time_ parameter, which is inconsistent with the documentation.
I believe it should either return FALSE in that case, or modify time_ as if iso_date had been "2011-05-24T00:00:00Z".
Attached a small test case allowing to reproduce the issue.
Attachment 188457, "Small test program that reproduces the bug.":
test_bug.c