Saving books to disk - Wrong year for custom field

Bug #1520895 reported by Sabine Nolte
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
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

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1520895

Changing the component for this bug.

 assignee cbhaley
 status triaged

Changed in calibre:
assignee: nobody → Charles Haley (cbhaley)
status: New → Triaged
Charles Haley (cbhaley)
Changed in calibre:
status: Triaged → Fix Committed
Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.