Major timezone breakage

Graham Leggett minfrin at sharp.fm
Sun May 27 11:26:22 EDT 2007


Hi all,

Having recently moved from ZA to the UK, I changed the timezone on my 
laptop to match, moving the timezone back by 1 hour.

All of a sudden, all the dates in my gnucash files were out by one day - 
invoices dated 1 March were now dated 28 February, which is in the 
previous VAT period and tax year.

Moving the timezone back to ZA and forward an hour suddenly fixed things 
- except for recent transactions, where there is now a confusion of 
dates in GMT, GMT+1 and GMT+2.

Looking inside the xac file, it looks like the timezones are not 
normalised before being saved:

   <trn:date-posted>
     <ts:date>2006-06-29 23:00:00 +0100</ts:date>
   </trn:date-posted>
   <trn:date-entered>
     <ts:date>2007-02-20 21:44:24 +0000</ts:date>
   </trn:date-entered>

Is this a known problem?

Is there a straightforward fix for this?

Regards,
Graham
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3287 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20070527/96591e4a/attachment.bin 


More information about the gnucash-devel mailing list