Skip to content

Commit

Permalink
Converts timestamps to strings before passing them to the document pl…
Browse files Browse the repository at this point in the history
…ugin (Netflix#3053)
  • Loading branch information
mvilanova authored and rutvijmehta-harness committed Mar 17, 2023
1 parent 359e21d commit d78e49d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dispatch/incident/flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,8 +493,8 @@ def update_document(document_resource_id: str, incident: Incident, db_session: S
ticket_weblink=resolve_attr(incident, "ticket.weblink"),
title=incident.title,
type=incident.incident_type.name,
stable_at_time=incident.stable_at,
reported_at_time=incident.reported_at,
reported_at_time=incident.reported_at.strftime("%m/%d/%Y %H:%M:%S"),
stable_at_time=incident.stable_at.strftime("%m/%d/%Y %H:%M:%S"),
)


Expand Down

0 comments on commit d78e49d

Please sign in to comment.