[Gnucash-changes] The old gmc_iso8601_to_timespec_local was
actually returning the GMT
Linas Vepstas
linas at cvs.gnucash.org
Sun May 2 16:42:18 EDT 2004
Log Message:
-----------
The old gmc_iso8601_to_timespec_local was actually
returning the GMT time. The new gmc_iso8601_to_timespec_gmt()
is going to return GMT. So after these changes, there will be
no function change to this routine.
Modified Files:
--------------
gnucash/src/import-export/log-replay:
gnc-log-replay.c
Revision Data
-------------
Index: gnc-log-replay.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/import-export/log-replay/gnc-log-replay.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -Lsrc/import-export/log-replay/gnc-log-replay.c -Lsrc/import-export/log-replay/gnc-log-replay.c -u -r1.6 -r1.7
--- src/import-export/log-replay/gnc-log-replay.c
+++ src/import-export/log-replay/gnc-log-replay.c
@@ -180,17 +180,17 @@
}
if(strlen(tok_ptr = my_strtok(NULL,"\t"))!=0)
{
- record.log_date = gnc_iso8601_to_timespec_local(tok_ptr);
+ record.log_date = gnc_iso8601_to_timespec_gmt(tok_ptr);
record.log_date_present=TRUE;
}
if(strlen(tok_ptr = my_strtok(NULL,"\t"))!=0)
{
- record.date_entered = gnc_iso8601_to_timespec_local(tok_ptr);
+ record.date_entered = gnc_iso8601_to_timespec_gmt(tok_ptr);
record.date_entered_present=TRUE;
}
if(strlen(tok_ptr = my_strtok(NULL,"\t"))!=0)
{
- record.date_posted = gnc_iso8601_to_timespec_local(tok_ptr);
+ record.date_posted = gnc_iso8601_to_timespec_gmt(tok_ptr);
record.date_posted_present=TRUE;
}
if(strlen(tok_ptr = my_strtok(NULL,"\t"))!=0)
@@ -245,7 +245,7 @@
}
if(strlen(tok_ptr = my_strtok(NULL,"\t"))!=0)
{
- record.date_reconciled = gnc_iso8601_to_timespec_local(tok_ptr);
+ record.date_reconciled = gnc_iso8601_to_timespec_gmt(tok_ptr);
record.date_reconciled_present=TRUE;
}
More information about the Gnucash-changes
mailing list