Skip to content

Commit

Permalink
Change Environment timestamps to be in UTC (#2007)
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Wang <[email protected]>
  • Loading branch information
felixwang9817 authored Nov 10, 2021
1 parent 06b1f37 commit cbe45a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ class Environment:
data_source_creator: DataSourceCreator

end_date: datetime = field(
default=datetime.now().replace(microsecond=0, second=0, minute=0)
default=datetime.utcnow().replace(microsecond=0, second=0, minute=0)
)

def __post_init__(self):
Expand Down

0 comments on commit cbe45a0

Please sign in to comment.