GNOME Bugzilla – Bug 454943
Date/times in XML file converted to current local time zone
Last modified: 2018-06-29 21:42:10 UTC
Please describe the problem: The transactions in my starting Account file (created with 2.1.1) were dated as of midnight GMT (e.g. 2007-01-01 00:00:00 +0000). When I open the Account file with 2.1.5, all the transaction dates are converted to my local time (EDT) (e.g. 2006-12-31 20:00:00 -0400). This leads to the appearance of every transaction occurring one day earlier than originally recorded. Is this a bug or a feature? I am using Windows XP SP2. Steps to reproduce: 1. Set local time to EDT (-0400) 2. Open an Account file with GMT dates 3. Save the Account file. Actual results: GMT times are converted to EDT, displayed as such and stored as such in the XML. Expected results: The Account file would be treated consistently with its original localization. Does this happen every time? Yes. Other information: Obviously, I could do a universal search-and-replace in the XML to convert midnight GMT to midnight EDT. But what will happen when we switch to EST? Will my dates appear to be 11 PM the previous day? Should I convert all the dates to noon?
We are very sorry, but this is in fact a bug that nobody has fixed so far. Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 137017 ***
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=454943. Please update any external references or bookmarks.