Skip to content

Commit

Permalink
fix AAP Image modification date is now rubbish
Browse files Browse the repository at this point in the history
  • Loading branch information
marwoodandrew committed Apr 26, 2024
1 parent 1bf3885 commit 093632e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/aap_mm/aap_mm_datalayer.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def _parse_doc(self, doc):
new_doc['original_source'] = doc['Credit'] + '/' + str(doc.get('Source', ''))
else:
new_doc['original_source'] = doc['Credit']
new_doc['versioncreated'] = self._datetime(doc['ModifiedDate'])
new_doc['versioncreated'] = self._datetime(doc['CreationDate'])
new_doc['firstcreated'] = self._datetime(doc['CreationDate'])
new_doc['pubstatus'] = 'usable'
# This must match the action
Expand Down

0 comments on commit 093632e

Please sign in to comment.