mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
Fix dates being set to empty in bulk search/replace not becoming UNDEFINED
This commit is contained in:
parent
874a7790b4
commit
c022a301c2
@ -879,6 +879,8 @@ class MetadataBulkDialog(QDialog, Ui_MetadataBulkDialog):
|
||||
if dest == 'title' and len(val) == 0:
|
||||
val = _('Unknown')
|
||||
|
||||
if not val and dfm['datatype'] == 'datetime':
|
||||
val = None
|
||||
self.set_field_calls[dest][book_id] = val
|
||||
# }}}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user