question about ts:date element and timezone

Kevin HaleBoyes kcboyes at yahoo.com
Mon Dec 10 17:33:09 EST 2007


I usually run GC on a linux system (FC7 if it matters) (v 2.2.1)
but recently ran the Windows version (v 2.2.1) and noticed a
change that I don't understand.

I opened my datafile in windows and saved without making any changes
and then diffed the XML.  I get loads of diffs like:

<       <ts:date>1998-03-30 00:00:00 -0700</ts:date>
---
>       <ts:date>1998-03-30 01:00:00 -0600</ts:date>

They happen in the <price><price:time> and <gnc:transaction><trn:date-posted>
elements.  I've looked at the timezone settings and it appears
that both Windows and Linux are properly set to GMT-7 (mountain standard)
but maybe I'm not looking in the right place.

In linux I run the command:
$ date -R
Mon, 10 Dec 2007 15:33:10 -0700

and in windows I go to the "date and time properties" panel in
the time zone tab.  It shows GMT-07:00.

So, what would cause this difference?

Thanks,
Kevin.



      Looking for a X-Mas gift?  Everybody needs a Flickr Pro Account.

 

http://www.flickr.com/gift/



More information about the gnucash-devel mailing list