gnucash trunk: Fix bad time format.
John Ralls
jralls at code.gnucash.org
Thu Nov 17 23:35:01 EST 2016
Updated via https://github.com/Gnucash/gnucash/commit/105ec1e4 (commit)
from https://github.com/Gnucash/gnucash/commit/1774de79 (commit)
commit 105ec1e4f335aac4129f742f1b468b2eb1f5afc6
Author: John Ralls <jralls at ceridwen.us>
Date: Thu Nov 17 20:34:51 2016 -0800
Fix bad time format.
Good catch by Mathew Forbis.
diff --git a/src/backend/sql/gnc-transaction-sql.cpp b/src/backend/sql/gnc-transaction-sql.cpp
index 96cd4b9..7d527c3 100644
--- a/src/backend/sql/gnc-transaction-sql.cpp
+++ b/src/backend/sql/gnc-transaction-sql.cpp
@@ -910,7 +910,7 @@ convert_query_term_to_sql (const GncSqlBackend* sql_be, const gchar* fieldName,
query_date_t date_data = (query_date_t)pPredData;
GncDateTime time(date_data->date.tv_sec);
- sql << time.format_zulu ("%Y-%m-%d %H:%M%S");
+ sql << time.format_zulu ("%Y-%m-%d %H:%M:%S");
}
else if (strcmp (pPredData->type_name, QOF_TYPE_INT32) == 0)
{
Summary of changes:
src/backend/sql/gnc-transaction-sql.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the gnucash-changes
mailing list