Skip to content

Commit

Permalink
Update hyo2/ssm2/lib/formats/writers/hypack.py
Browse files Browse the repository at this point in the history
Co-authored-by: eriffon <[email protected]>
  • Loading branch information
giumas and eriffon committed Aug 11, 2024
1 parent 1d42e80 commit 591bbde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hyo2/ssm2/lib/formats/writers/hypack.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def _write_header(self):
if self.ssp.cur.meta.utc_time:
date_string = "%s" % self.ssp.cur.meta.utc_time.strftime("%H:%M %m/%d/%Y")
else:
date_string = "%s" % datetime.datetime.now().strftime("%H:%M %m/%d/%Y")
date_string = "%s" % datetime.datetime.now(datetime.timezone.utc).strftime("%H:%M %m/%d/%Y")

header += "FTP NEW 3 " + position_string + " " + date_string + "\r\n"

Expand Down

0 comments on commit 591bbde

Please sign in to comment.