Skip to content

Commit 21c0e19

Browse files
fix: datetime in < py3.11
Resolves #1
1 parent 2ae745d commit 21c0e19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

osteoid/skeleton.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1187,7 +1187,7 @@ def to_swc(self, contributors=""):
11871187
# SOMA_AREA
11881188
# SHINKAGE_CORRECTION
11891189
# VERSION_NUMBER {__VERSION__}
1190-
# VERSION_DATE {datetime.datetime.now(datetime.UTC).isoformat()}
1190+
# VERSION_DATE {datetime.datetime.now(datetime.timezone.utc).isoformat()}
11911191
# SCALE {sx:.6f} {sy:.6f} {sz:.6f}
11921192
"""
11931193

0 commit comments

Comments
 (0)