Package: calibre
Version: 4.99.4+dfsg+really4.12.0-1
Severity: normal

Dear Maintainer,

When modifying timestamp by using calibredb set_metadata command, I cannot set 
begin or
end of month except for end of year (Some results are following).
Please fix this bug. I have confirmed timestamp field only, and so please tell 
upstream
to check other time format fields.

ex-1)[BAD case] set to 4/1 ( begin of month )
   $ calibredb set_metadata -f timestamp:2020-04-01T09:00:00+09:00 1
   Title               : Quick Start Guide
   Title sort          : Quick Start Guide
   Author(s)           : John Schember [John Schember]
   Languages           : eng
   Timestamp           : 2020-04-02T00:00:00+00:00
   Published           : 0101-01-01T00:00:00+00:00
   Comments            : calibre Quick Start Guide
   
ex-2)[BAD case] set to 3/31 ( end of month )
   $ calibredb set_metadata -f timestamp:2020-03-31T09:00:00+09:00 1
   Title               : Quick Start Guide
   Title sort          : Quick Start Guide
   Author(s)           : John Schember [John Schember]
   Languages           : eng
   Timestamp           : 2020-03-30T00:00:00+00:00
   Published           : 0101-01-01T00:00:00+00:00
   Comments            : calibre Quick Start Guide
   
ex-3)[GOOD case] set to 4/4 ( neither begin nor end of month )
   $ calibredb set_metadata -f timestamp:2020-04-04T09:00:00+09:00 1
   Title               : Quick Start Guide
   Title sort          : Quick Start Guide
   Author(s)           : John Schember [John Schember]
   Languages           : eng
   Timestamp           : 2020-04-04T00:00:00+00:00
   Published           : 0101-01-01T00:00:00+00:00
   Comments            : calibre Quick Start Guide
   
ex-4)[GOOD case] set to 12/31 ( end of year )
   $ calibredb set_metadata -f timestamp:2019-12-31T09:00:00+09:00 1
   Title               : Quick Start Guide
   Title sort          : Quick Start Guide
   Author(s)           : John Schember [John Schember]
   Languages           : eng
   Timestamp           : 2019-12-31T00:00:00+00:00
   Published           : 0101-01-01T00:00:00+00:00
   Comments            : calibre Quick Start Guide

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

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

Versions of packages calibre depends on:
ii  calibre-bin                      4.99.4+dfsg+really4.12.0-1
ii  dpkg                             1.19.7
ii  fonts-liberation                 1:1.07.4-11
ii  imagemagick                      8:6.9.10.23+dfsg-2.1+b2
ii  imagemagick-6.q16 [imagemagick]  8:6.9.10.23+dfsg-2.1+b2
ii  libjpeg-turbo-progs              1:1.5.2-2+b1
ii  libjs-mathjax                    2.7.4+dfsg-1
ii  libjxr-tools                     1.1-6+b1
ii  optipng                          0.7.7-1+b1
ii  poppler-utils                    0.71.0-6
ii  python3                          3.8.2-2
ii  python3-apsw                     3.30.1-r1-1.1
ii  python3-bs4                      4.8.2-1
ii  python3-chardet                  3.0.4-4
ii  python3-chm                      0.8.6-2
ii  python3-css-parser               1.0.4-2
ii  python3-cssselect                1.1.0-2
ii  python3-cssutils                 1.0.2-3
ii  python3-dateutil                 2.7.3-3
ii  python3-dbus                     1.2.16-1
ii  python3-feedparser               5.2.1-2
ii  python3-html2text                2020.1.16-1
ii  python3-html5-parser             0.4.9-3
ii  python3-html5lib                 1.0.1-2
ii  python3-lxml                     4.5.0-1
ii  python3-markdown                 3.1.1-3
ii  python3-mechanize                1:0.4.5-2
ii  python3-msgpack                  0.6.2-1
ii  python3-netifaces                0.10.9-0.2
ii  python3-pil                      7.0.0-4
ii  python3-pkg-resources            44.0.0-1
ii  python3-pygments                 2.3.1+dfsg-1
ii  python3-pyparsing                2.4.6-1
ii  python3-pyqt5                    5.14.1+dfsg-3
ii  python3-pyqt5.qtsvg              5.14.1+dfsg-3
ii  python3-pyqt5.qtwebengine        5.14.0-2
ii  python3-regex                    0.1.20190819-2
ii  python3-routes                   2.4.1-2
ii  python3-zeroconf                 0.23.0-1
ii  xdg-utils                        1.1.3-2

Versions of packages calibre recommends:
pn  python3-dnspython  <none>
ii  udisks2            2.8.4-1

Versions of packages calibre suggests:
pn  python3-openssl   <none>
pn  python3-unrardll  <none>

-- no debconf information

Reply via email to