-
Notifications
You must be signed in to change notification settings - Fork 802
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix GncDateEntry date parsing oddities.
The intent was always to default to today if the input string isn't parsable, but two problems prevented that: First, qof_scan_date_internal didn't check the return value of strptime and return FALSE if it failed and second gnc_date_edit_get_date_internal would unnecessarily munge a valid struct tm from gnc_tm_get_today_neutral.
- Loading branch information
Showing
2 changed files
with
10 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters