Bug#998737: gnote: Timestamp is not in ISO 8601 format

Zoltan Adasz adanrg at gmail.com
Sun Nov 7 12:01:22 GMT 2021


Package: gnote
Version: 3.38.0-1
Severity: important

Dear Maintainer,

I observed synchronization errors with Tomdroid (Android app using Tomboy's
note format) with notes changed by the latest (Debian Bullseye) version of
GNote. I was able to track the this particular problem down to a tag in the
note file: "last-change-date" ("last-metadata-change-date" is also affected).
AFAIK, these should be in ISO 8601 format, which requires zero padded hour /
minute / second values. However I see timestamps not following this rule. For
example:

  <last-change-date>2021-11-07T11:10:3.396594Z</last-change-date>

How to reproduce: change a note in the first 9 seconds of a minute.

I don't know, if this causes problems with any other application using the note
format. I'm also not sure, if this problem directly relates to GNote or a
library used internally to handle timestamp "serialization" / XML writing.


-- System Information:
Debian Release: 11.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-9-amd64 (SMP w/16 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_CPU_OUT_OF_SPEC,
TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not
set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnote depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.38.0-2
ii  libatkmm-1.6-1v5                             2.28.0-3
ii  libc6                                        2.31-13+deb11u2
ii  libgcc-s1                                    10.2.1-6
ii  libglib2.0-0                                 2.66.8-1
ii  libglibmm-2.4-1v5                            2.64.2-2
ii  libgspell-1-2                                1.8.4-1
ii  libgtk-3-0                                   3.24.24-4
ii  libgtkmm-3.0-1v5                             3.24.2-2
ii  libpango-1.0-0                               1.46.2-3
ii  libpangomm-1.4-1v5                           2.42.1-1
ii  libsecret-1-0                                0.20.4-2
ii  libsigc++-2.0-0v5                            2.10.4-2
ii  libstdc++6                                   10.2.1-6
ii  libuuid1                                     2.36.1-8
ii  libxml2                                      2.9.10+dfsg-6.7
ii  libxslt1.1                                   1.1.34-4

gnote recommends no packages.

gnote suggests no packages.



More information about the pkg-gnome-maintainers mailing list