Skip to content

Commit

Permalink
Update snowfakery/output_streams.py
Browse files Browse the repository at this point in the history
Co-authored-by: James Estevez <[email protected]>
  • Loading branch information
Paul Prescod and jstvz authored Feb 3, 2022
1 parent b622e7c commit 09f197b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snowfakery/output_streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def noop(x):

def format_datetime(dt: datetime.datetime):
"""Format into the Salesforce-preferred syntax."""
return str(dt).replace(" ", "T")
return dt.isoformat(timespec="seconds")


class OutputStream(ABC):
Expand Down

0 comments on commit 09f197b

Please sign in to comment.