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:
John Ralls 2016-12-11 17:21:28 -08:00
parent 54beffd936
commit 3ed1c7616d

View File

@ -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))))