mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix broken month in aqbanking<6 import
The used GWEN_Time_GetBrokenDownDate returns month in interval [0..11].
This commit is contained in:
parent
d6ceec681e
commit
b36a012512
@ -99,7 +99,8 @@ gnc_gwen_date_to_time64 (const GNC_GWEN_DATE* date)
|
||||
#else
|
||||
int month, day, year;
|
||||
GWEN_Time_GetBrokenDownDate(date, &day, &month, &year);
|
||||
return gnc_dmy2time64_neutral(day, month, year);
|
||||
/* GWEN_Time_GetBrokenDownDate returns localtime(3) format; month is [0..11] */
|
||||
return gnc_dmy2time64_neutral(day, month + 1, year);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user