Package: gnucash
Version: 1:3.2-1
Severity: grave
Justification: causes non-serious data loss

After the upgrade to gnucash 3.x (well, I assume this is the cause),
some dates in the .gnc file have changed incorrectly. For instance:

   <trn:date-entered>
-    <ts:date>2012-03-25 03:47:47 +0200</ts:date>
+    <ts:date>2012-03-25 02:47:47 +0100</ts:date>
   </trn:date-entered>

   <trn:date-entered>
-    <ts:date>2012-03-25 03:50:40 +0200</ts:date>
+    <ts:date>2012-03-25 02:50:40 +0100</ts:date>
   </trn:date-entered>

   <trn:date-entered>
-    <ts:date>2012-03-25 03:51:02 +0200</ts:date>
+    <ts:date>2012-03-25 02:51:02 +0100</ts:date>
   </trn:date-entered>

   <trn:date-entered>
-    <ts:date>2012-03-25 03:48:15 +0200</ts:date>
+    <ts:date>2012-03-25 02:48:15 +0100</ts:date>
   </trn:date-entered>

   <trn:date-entered>
-    <ts:date>2017-10-29 02:53:42 +0200</ts:date>
+    <ts:date>2017-10-29 01:53:42 +0100</ts:date>
   </trn:date-entered>

   <trn:date-entered>
-    <ts:date>2017-10-29 02:53:54 +0200</ts:date>
+    <ts:date>2017-10-29 01:53:54 +0100</ts:date>
   </trn:date-entered>

The dates are equivalent in term of UTC times, but the timezones
silently became incorrect.

These entries were entered with the Europe/Paris timezone. But:

$ TZ=Europe/Paris date +'%F %T %z' -d '2012-03-25 02:47:47 +0100'
2012-03-25 03:47:47 +0200

So, 2012-03-25 03:47:47 +0200 was really the correct local date+time,
not 2012-03-25 02:47:47 +0100.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.16.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnucash depends on:
ii  gnucash-common               1:3.2-1
ii  guile-2.2                    2.2.3+1-5
ii  guile-2.2-libs               2.2.3+1-5
ii  libaqbanking35               5.7.8-1
ii  libaqbanking35-plugins       5.7.8-1
ii  libatk1.0-0                  2.28.1-1
ii  libboost-date-time1.62.0     1.62.0+dfsg-6
ii  libboost-filesystem1.62.0    1.62.0+dfsg-6
ii  libboost-locale1.62.0        1.62.0+dfsg-6
ii  libboost-regex1.62.0         1.62.0+dfsg-6
ii  libboost-system1.62.0        1.62.0+dfsg-6
ii  libc6                        2.27-4
ii  libcairo-gobject2            1.14.10-1
ii  libcairo2                    1.14.10-1
ii  libcrypt-ssleay-perl         0.73.06-1
ii  libdate-manip-perl           6.72-1
ii  libdbi1                      0.9.0-5
ii  libfinance-quote-perl        1.47-1
ii  libgc1c2                     1:7.4.2-8.3
ii  libgcc1                      1:8.1.0-9
ii  libgdk-pixbuf2.0-0           2.36.11-2
ii  libglib2.0-0                 2.56.1-2
ii  libgtk-3-0                   3.22.30-2
ii  libgwenhywfar60              4.20.0-1
ii  libhtml-tableextract-perl    2.15-1
ii  libhtml-tree-perl            5.07-1
ii  libicu60                     60.2-6
ii  libjavascriptcoregtk-4.0-18  2.20.3-1
ii  libktoblzcheck1v5            1.49-4
ii  libofx7                      1:0.9.13-2
ii  libpango-1.0-0               1.42.1-1
ii  libpangocairo-1.0-0          1.42.1-1
ii  libsecret-1-0                0.18.6-2
ii  libsoup2.4-1                 2.62.2-2
ii  libstdc++6                   8.1.0-9
ii  libwebkit2gtk-4.0-37         2.20.3-1
ii  libwww-perl                  6.34-1
ii  libxml2                      2.9.4+dfsg1-7+b1
ii  libxslt1.1                   1.1.32-2
ii  perl                         5.26.2-6
ii  zlib1g                       1:1.2.11.dfsg-1

Versions of packages gnucash recommends:
ii  gnucash-docs     3.2-1
ii  python3-gnucash  1:3.2-1
ii  yelp             3.28.1-1

Versions of packages gnucash suggests:
pn  libdbd-mysql    <none>
pn  libdbd-pgsql    <none>
pn  libdbd-sqlite3  <none>

-- no debconf information

Reply via email to