diff --git a/comictaggerlib/comicinfoxml.py b/comictaggerlib/comicinfoxml.py index 2839653..212bd19 100644 --- a/comictaggerlib/comicinfoxml.py +++ b/comictaggerlib/comicinfoxml.py @@ -103,7 +103,7 @@ class ComicInfoXml: assign( 'Notes', md.notes ) assign( 'Year', md.year ) assign( 'Month', md.month ) - #assign( 'Day', md.day ) + assign( 'Day', md.day ) # need to specially process the credits, since they are structured differently than CIX credit_writer_list = list() @@ -230,6 +230,7 @@ class ComicInfoXml: md.notes = xlate( 'Notes' ) md.year = xlate( 'Year' ) md.month = xlate( 'Month' ) + md.day = xlate( 'Day' ) md.publisher = xlate( 'Publisher' ) md.imprint = xlate( 'Imprint' ) md.genre = xlate( 'Genre' ) diff --git a/comictaggerlib/genericmetadata.py b/comictaggerlib/genericmetadata.py index dfb5d52..81778da 100644 --- a/comictaggerlib/genericmetadata.py +++ b/comictaggerlib/genericmetadata.py @@ -63,6 +63,7 @@ class GenericMetadata: self.publisher = None self.month = None self.year = None + self.day = None self.issueCount = None self.volume = None self.genre = None @@ -125,6 +126,7 @@ class GenericMetadata: assign( "issueCount", new_md.issueCount ) assign( "title", new_md.title ) assign( "publisher", new_md.publisher ) + assign( "day", new_md.day ) assign( "month", new_md.month ) assign( "year", new_md.year ) assign( "volume", new_md.volume ) @@ -256,8 +258,9 @@ class GenericMetadata: add_attr_string( "issueCount" ) add_attr_string( "title" ) add_attr_string( "publisher" ) - add_attr_string( "month" ) add_attr_string( "year" ) + add_attr_string( "month" ) + add_attr_string( "day" ) add_attr_string( "volume" ) add_attr_string( "volumeCount" ) add_attr_string( "genre" )