Bug 794767 - Dates default to 01/01/1970

pull/335/merge
Geert Janssens 8 years ago
parent 3a44b368d4
commit 6093e5978f

@ -1764,7 +1764,7 @@ gnc_invoice_update_window (InvoiceWindow *iw, GtkWidget *widget)
gncInvoiceGetActive (invoice));
time = gncInvoiceGetDateOpened (invoice);
if (!time)
if (time == INT64_MAX)
{
gnc_date_edit_set_time (GNC_DATE_EDIT (iw->opened_date),
gnc_time (NULL));

Loading…
Cancel
Save