question about ts:date element and timezone

Derek Atkins warlord at MIT.EDU
Mon Dec 10 18:12:21 EST 2007


Hi,

Quoting Kevin HaleBoyes <kcboyes at yahoo.com>:

> 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?

Daylight Savings Time?

> Thanks,
> Kevin.

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-devel mailing list