mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Remove QIF importer error “Dates earlier than 1970 are not supported”.
Because they are. The parser can’t figure out years earlier than 1930, but that’s not really a major concern.
This commit is contained in:
parent
54beffd936
commit
3ed1c7616d
@ -481,15 +481,7 @@
|
|||||||
"Missing transaction date."
|
"Missing transaction date."
|
||||||
#f
|
#f
|
||||||
#f))
|
#f))
|
||||||
((< (list-ref qif-date 2) 1970)
|
|
||||||
(qif-import:log progress-dialog
|
|
||||||
"qif-import:qif-xtn-to-gnc-xtn"
|
|
||||||
(_ "Dates earlier than 1970 are not supported."))
|
|
||||||
(throw 'bad-date
|
|
||||||
"qif-import:qif-xtn-to-gnc-xtn"
|
|
||||||
"Invalid transaction year (~A)."
|
|
||||||
(list (list-ref qif-date 2))
|
|
||||||
#f))
|
|
||||||
(else
|
(else
|
||||||
(apply xaccTransSetDate gnc-xtn (qif-xtn:date qif-xtn))))
|
(apply xaccTransSetDate gnc-xtn (qif-xtn:date qif-xtn))))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user