Saving books to disk - Wrong year for custom field

Bug #1520895 reported by Sabine Nolte on 2015-11-29
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Undecided
Charles Haley

Bug Description

Example: new customer field 'orgpublished', Date, format 'yyyy'.
Metadata: Author sort 'Storm, Theodor', Title 'John Riew', orgpublished '1885'.
My Preferences in 'Saving books to disk':
'{author_sort[0]}/{author_sort}/{series}/{title}/{authors} - {series} {series_index:0>3s} {#orgpublished} {title}'.
The file which is created: 'Storm, Theodor - 1884 John Riew.epub'. (188!4!)
The name should be 'Storm, Theodor - 1885 John Riew.epub'. (188!5!)
If I change 'orgpublished' in the metadata form 1st January 1885 to 2nd January 1885, all works fine: 'Storm, Theodor - 1885 John Riew.epub'.

Greetings,
Sabine

P.S.: calibre version 2.45, win7

Changing the component for this bug.

 assignee cbhaley
 status triaged

Changed in calibre:
assignee: nobody → Charles Haley (cbhaley)
status: New → Triaged
Charles Haley (cbhaley) on 2015-11-29
Changed in calibre:
status: Triaged → Fix Committed

Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Changed in calibre:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers