mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug 794767 - Dates default to 01/01/1970
This commit is contained in:
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…
Reference in New Issue
Block a user