diff --git a/src/quotes/gnc-fq-helper.in b/src/quotes/gnc-fq-helper.in index 8c4b7d6e22..e518d92de5 100644 --- a/src/quotes/gnc-fq-helper.in +++ b/src/quotes/gnc-fq-helper.in @@ -210,7 +210,11 @@ sub get_quote_time { } my $parsestr = $datestr; - if($timestr) { + if(!$timestr) { + #fix date handling for quotes with no time. + #Keeps gnucash from getting date wrong in west longitude places. + $parsestr .= " 12:00:00" + } else { $parsestr .= " $timestr"; }