After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 743807 - Date range in export transactions to CSV doesn't work
Date range in export transactions to CSV doesn't work
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: User Interface General
2.6.4
Other Linux
: Normal normal
: ---
Assigned To: gnucash-ui-maint
gnucash-ui-maint
Depends on:
Blocks:
 
 
Reported: 2015-02-01 15:33 UTC by Jonathan Kamens
Modified: 2018-06-29 23:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Error in date filter (3.13 KB, patch)
2015-02-03 14:22 UTC, Bob
committed Details | Review
Critical errors as you type date. (1.12 KB, patch)
2015-02-03 14:24 UTC, Bob
committed Details | Review

Description Jonathan Kamens 2015-02-01 15:33:49 UTC
I selected File | Export | Export Transactions to CSV... and specified a start date of 1/1/2014 and end date of 12/31/2014 for the export. It instead exported transactions through 12/31/2013, i.e., it appears to have treated the start date I specified as the end date, and I have no idea what it did with the end date.
Comment 1 Bob 2015-02-03 14:22:28 UTC
Created attachment 296022 [details] [review]
Error in date filter

In get_filter_times, the start_date_today was being tested instead of 
the end_date_today, corrected. Also corrected the default option for 
end date to match start date.
Comment 2 Bob 2015-02-03 14:24:20 UTC
Created attachment 296024 [details] [review]
Critical errors as you type date.

As you type a date into the calendar widget it tries to make a GDate with the current year and month, if you are typing 31/ in February you get a critical error in the trace file. This patch adds a test for a valid date before proceeding.
Comment 3 Geert Janssens 2015-02-07 14:31:29 UTC
Good fixes. Thanks a lot.

These will first appear in gnucash 2.6.6.
Comment 4 John Ralls 2018-06-29 23:38:12 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=743807. Please update any external references or bookmarks.