[Gnucash-changes] the olc is8601_to_timespec_local was returning
GMT.
Linas Vepstas
linas at cvs.gnucash.org
Sun May 2 16:52:34 EDT 2004
Log Message:
-----------
the olc is8601_to_timespec_local was returning GMT. The new
iso8601_to_gmt is going to return GMT. So this net
result should be no change
Modified Files:
--------------
gnucash/src/backend/postgres:
putil.h
Revision Data
-------------
Index: putil.h
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/backend/postgres/putil.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -Lsrc/backend/postgres/putil.h -Lsrc/backend/postgres/putil.h -u -r1.13 -r1.14
--- src/backend/postgres/putil.h
+++ src/backend/postgres/putil.h
@@ -284,7 +284,7 @@
*/
#define COMP_DATE(sqlname,fun,ndiffs) { \
Timespec eng_time = fun; \
- Timespec sql_time = gnc_iso8601_to_timespec_local( \
+ Timespec sql_time = gnc_iso8601_to_timespec_gmt( \
DB_GET_VAL(sqlname,0)); \
if (eng_time.tv_sec != sql_time.tv_sec) { \
char buff[80]; \
@@ -302,7 +302,7 @@
*/
#define COMP_NOW(sqlname,fun,ndiffs) { \
Timespec eng_time = xaccTransRetDateEnteredTS(ptr); \
- Timespec sql_time = gnc_iso8601_to_timespec_local( \
+ Timespec sql_time = gnc_iso8601_to_timespec_gmt( \
DB_GET_VAL(sqlname,0)); \
if (eng_time.tv_sec > sql_time.tv_sec) { \
char buff[80]; \
More information about the Gnucash-changes
mailing list