mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-06 18:25:10 +01:00
Fix #1884399: Week number only appears on date selector in Bulk Metadata Edit window by removing the week number in bulk edit
This commit is contained in:
parent
b8cb8fc20f
commit
9bd85dd38c
1 changed files with 2 additions and 0 deletions
|
|
@ -505,6 +505,7 @@ def __init__(self, window, rows, model, tab, refresh_books):
|
|||
self.autonumber_series.stateChanged[int].connect(self.auto_number_changed)
|
||||
self.pubdate.setMinimumDateTime(UNDEFINED_QDATETIME)
|
||||
self.pubdate_cw = CalendarWidget(self.pubdate)
|
||||
self.pubdate_cw.setVerticalHeaderFormat(self.pubdate_cw.NoVerticalHeader)
|
||||
self.pubdate.setCalendarWidget(self.pubdate_cw)
|
||||
pubdate_format = tweaks['gui_pubdate_display_format']
|
||||
if pubdate_format == 'iso':
|
||||
|
|
@ -517,6 +518,7 @@ def __init__(self, window, rows, model, tab, refresh_books):
|
|||
self.adddate.setDateTime(QDateTime.currentDateTime())
|
||||
self.adddate.setMinimumDateTime(UNDEFINED_QDATETIME)
|
||||
self.adddate_cw = CalendarWidget(self.adddate)
|
||||
self.adddate_cw.setVerticalHeaderFormat(self.adddate_cw.NoVerticalHeader)
|
||||
self.adddate.setCalendarWidget(self.adddate_cw)
|
||||
adddate_format = tweaks['gui_timestamp_display_format']
|
||||
if adddate_format == 'iso':
|
||||
|
|
|
|||
Loading…
Reference in a new issue