GwR catalog revisions wip

This commit is contained in:
GRiker 2010-12-26 07:25:06 -07:00
parent 5f677e1ed6
commit 966a9c4ffb
2 changed files with 3 additions and 1 deletions

View File

@ -617,6 +617,8 @@ class KindleDXOutput(OutputProfile):
#comic_screen_size = (741, 1022)
supports_mobi_indexing = True
periodical_date_in_title = False
missing_char = u'x\u2009'
empty_ratings_char = u'\u2606'
ratings_char = u'\u2605'
read_char = u'\u2713'
mobi_ems_per_blockquote = 2.0

View File

@ -1507,7 +1507,7 @@ class EPUB_MOBI(CatalogPlugin):
notes = self.__db.get_field(record['id'],
self.opts.header_note_source_field,
index_is_id=True)
if field_md['datatype'] == 'datetime':
if notes and field_md['datatype'] == 'datetime':
# Reformat date fields to match UI presentation: dd MMM YYYY
notes = format_date(notes,'dd MMM yyyy')