diff --git a/ChangeLog b/ChangeLog index 234d2b9e1c..4c68c5c564 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,9 @@ so users can define where to look for libofx. * import-export/ofx/Makefile.am -- use new configure glue + * import-export/ofx/gnc-ofx-import.c: use gnc_timespec_to_iso8601_buff() instead of strftime() + * import-export/ofx/gncmod-ofx-import.c: "remove" two unused variables + 2002-10-28 Christian Stimming * intl-scm/xgettext.scm: Add the file name of scheme files to diff --git a/src/import-export/ofx/gnc-ofx-import.c b/src/import-export/ofx/gnc-ofx-import.c index c8c6761bea..5deb654240 100644 --- a/src/import-export/ofx/gnc-ofx-import.c +++ b/src/import-export/ofx/gnc-ofx-import.c @@ -235,7 +235,9 @@ int ofx_proc_transaction_cb(struct OfxTransactionData data) g_free(tmp); } if(data.date_funds_available_valid==true){ - strftime(dest_string,sizeof(dest_string),"%c %Z",localtime(&(data.date_funds_available))); + Timespec ts; + timespecFromTime_t(&ts, data.date_funds_available); + gnc_timespec_to_iso8601_buff (ts, dest_string); tmp=notes; notes=g_strdup_printf("%s%s%s",tmp,"|Date funds available:", dest_string); g_free(tmp); diff --git a/src/import-export/ofx/gncmod-ofx-import.c b/src/import-export/ofx/gncmod-ofx-import.c index d6ece13be6..07be6e28be 100644 --- a/src/import-export/ofx/gncmod-ofx-import.c +++ b/src/import-export/ofx/gncmod-ofx-import.c @@ -20,8 +20,8 @@ int libgncmod_ofx_LTX_gnc_module_current = 0; int libgncmod_ofx_LTX_gnc_module_revision = 0; int libgncmod_ofx_LTX_gnc_module_age = 0; -static GNCModule bus_core; -static GNCModule file; +//static GNCModule bus_core; +//static GNCModule file; /* forward references */ char *libgncmod_ofx_LTX_gnc_module_path(void);