In qof_scan_date returns valid date when day and month are 0

If you start typing a date in the register with the enable autoreadonly
option starting with a 0, gdate complains when trying to create a valid
date.
pull/366/head
Robert Fewell 8 years ago
parent 00e6ccdda0
commit 1f14d0f629

@ -936,6 +936,9 @@ qof_scan_date_internal (const char *buff, int *day, int *month, int *year,
g_free (dupe);
if ((imonth == 0) || (iday == 0))
return FALSE;
if ((12 < imonth) || (31 < iday))
{
/*

Loading…
Cancel
Save