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 405391 - Entry dates keep changing
Entry dates keep changing
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: General
git-master
Other Windows
: Normal normal
: ---
Assigned To: Chris Lyttle
Chris Lyttle
Depends on:
Blocks:
 
 
Reported: 2007-02-07 15:20 UTC by Chris
Modified: 2018-06-29 21:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Chris 2007-02-07 15:20:59 UTC
Please describe the problem:
I downloaded the Win XP executable (version 2.0.99) about a week ago from https://sourceforge.net/project/showfiles.php?group_id=192&package_id=5582 and installed. I started entering information, and back-information to the beginning of the year. I created every account opening balance assigned to Jan 1. I first noticed most of the opening balance dates changed to Jan 2, and using the equity account I changed them back to the 1st. I then used the program a few more days, still catching up on entering information and when I checked the equity account again, the opening balance entries were all changed to Jan 2nd, 3rd and 4th. I then checked various other transactions and noticed the entry dates for many of them have changed as well.

Steps to reproduce:
1. create a new account
2. save, re-open, enter more data, save, etc.
3. Check dates/ 


Actual results:
The dates the entries were assigned change on their own.

Expected results:


Does this happen every time?


Other information:
I don't know for sure if this affects the problem, but I am storing the data files on a USB memory stick and working on both my home and work computers, though the program itself is installed directly on both PCs.
Comment 1 Andreas Köhler 2007-02-07 16:51:38 UTC
Do both computers run in the same virtual time zone and show the same time?
Comment 2 Christian Stimming 2007-02-08 09:00:09 UTC
If this is caused by different timezones then it's a duplicate of bug#137017
Comment 3 Chris 2007-02-08 16:49:14 UTC
I checked both computers, they are both in the same timezone (EST) and within 2-3 minutes of each other (eyball comparison to my cellphone time). I moved the data off the flash drive and started fixing some of the dates, I worked with it some on my home computer last night and did not get any date changes that I noticed. That seems to have worked around the problem. I will copy the file back to the flash drive and try to nail down the exact circumstances that cause the dates to change on a copy of my information.
Comment 4 Matt Moore 2007-02-09 14:07:08 UTC
I get the same issue with the dates; I am also in EST timezone.  I create a new file, selecting only the "A Simple Checkbook" option from the new account druid with an opening balance of 1000USD.  Save the file and exit GnuCash.  Then reopen the file and save and exit a second time (I don nothing else between the saves).  The second save added the UTC offset to the time...do this enough and the date slowly drifts upward.  I've only been using one computer. 

Here is the diff from the two saves:

=== modified file 'test.xml'
--- test.xml                                                                   
+++ test.xml
@@ -34,6 +34,13 @@
 <book:id type="guid">811209ab3b5dc4be4464331e8f8ebe9f</book:id>
 <gnc:count-data cd:type="account">8</gnc:count-data>
 <gnc:count-data cd:type="transaction">1</gnc:count-data>
+<gnc:commodity version="2.0.0">
+  <cmdty:space>ISO4217</cmdty:space>
+  <cmdty:id>USD</cmdty:id>
+  <cmdty:get_quotes/>
+  <cmdty:quote_source>currency</cmdty:quote_source>
+  <cmdty:quote_tz/>
+</gnc:commodity>
 <gnc:account version="2.0.0">
   <act:name>Assets</act:name>
   <act:id type="guid">63cbbbc04e71485fe1eaa06233582236</act:id>
@@ -139,10 +146,10 @@
     <cmdty:id>USD</cmdty:id>
   </trn:currency>
   <trn:date-posted>
-    <ts:date>2007-02-09 08:54:48 -0500</ts:date>
+    <ts:date>2007-02-09 13:54:48 -0500</ts:date>
   </trn:date-posted>
   <trn:date-entered>
-    <ts:date>2007-02-09 08:54:48 -0500</ts:date>
+    <ts:date>2007-02-09 13:54:48 -0500</ts:date>
     <ts:ns>278566000</ts:ns>
   </trn:date-entered>
   <trn:description>Opening Balance</trn:description>


Comment 5 Andreas Köhler 2007-02-12 00:16:34 UTC
I could imagine that this got fixed by r15472.  Could you please download the newest version and retry?
Oh, and please always tell us the exact revision number you use (right now we have r15570, r15522 is packaged up for windows).  The link did not help.
Comment 6 Chris 2007-02-12 02:06:41 UTC
I had version r15417, I downloaded and am currently installing the new version. I will test it and get back in a day or two.

Thanks!
Comment 7 Matt Moore 2007-02-12 15:32:07 UTC
I also was running r15417.  I downloaded r15522 and it fixed the problem with the simple test I described in my prior comment.  Thanks for your help!
Comment 8 Andreas Köhler 2007-02-12 15:59:47 UTC
Great!  Closing.
Comment 9 John Ralls 2018-06-29 21:25:55 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=405391. Please update any external references or bookmarks.