Skip to content

Commit

Permalink
FIX: utc
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Jan 16, 2024
1 parent 0a212ed commit e2df0ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mne/export/_egimff.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def export_evokeds_mff(fname, evoked, history=None, *, overwrite=False, verbose=
if op.exists(fname):
os.remove(fname) if op.isfile(fname) else shutil.rmtree(fname)
writer = mffpy.Writer(fname)
current_time = datetime.datetime.now(datetime.UTC)
current_time = datetime.datetime.now(datetime.timezone.utc)
writer.addxml("fileInfo", recordTime=current_time)
try:
device = info["device_info"]["type"]
Expand Down

0 comments on commit e2df0ca

Please sign in to comment.