Skip to content

Commit 478ffbe

Browse files
committed
lint
1 parent 4337222 commit 478ffbe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/convert_empty_room.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# Let us first import mne_bids.
3030

3131
import shutil
32-
from datetime import datetime, timezone
32+
from datetime import UTC, datetime
3333

3434
import mne
3535
from mne.datasets import sample
@@ -98,7 +98,7 @@
9898
for date in dates:
9999
er_bids_path.update(session=date)
100100
er_meas_date = datetime.strptime(date, "%Y%m%d")
101-
er_raw.set_meas_date(er_meas_date.replace(tzinfo=timezone.utc))
101+
er_raw.set_meas_date(er_meas_date.replace(tzinfo=UTC))
102102
write_raw_bids(er_raw, er_bids_path, overwrite=True)
103103

104104
# %%

0 commit comments

Comments
 (0)