Skip to content

Commit

Permalink
Merge pull request #481 from bcgov/dev-marshal-AS-4310-fix
Browse files Browse the repository at this point in the history
Added time zone correction for date field as well for updating in redactions panel
  • Loading branch information
aparna-aot authored Sep 19, 2023
2 parents 1878bd5 + 2bc832a commit b6f59bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/reviewer_api/services/annotationservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ def __extractannotfromxml(self, xmlstring):
customdatadict = json.loads(customdata)
if formatted_utc is not None:
annot.setAttribute("creationdate", formatted_utc)
annot.setAttribute("date", formatted_utc)
annots.append({
"name": annot.getAttribute("name"),
"page": customdatadict['originalPageNo'],
Expand Down

0 comments on commit b6f59bf

Please sign in to comment.