After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 454943 - Date/times in XML file converted to current local time zone
Date/times in XML file converted to current local time zone
Status: VERIFIED DUPLICATE of bug 137017
Product: GnuCash
Classification: Other
Component: Engine
2.1.x
Other All
: Normal normal
: ---
Assigned To: Derek Atkins
Derek Atkins
Depends on:
Blocks:
 
 
Reported: 2007-07-08 20:13 UTC by nostrelivers
Modified: 2018-06-29 21:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description nostrelivers 2007-07-08 20:13:02 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?
Comment 1 Christian Stimming 2007-07-09 09:06:38 UTC
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 ***
Comment 2 John Ralls 2018-06-29 21:42:10 UTC
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.