Skip to content

Commit da2917c

Browse files
committed
fix parse build date
1 parent 2a20c3f commit da2917c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project/settings/remote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
try:
4444
with open(os.path.join(BASE_DIR, "PROJECT_BUILD_DATE")) as f:
45-
PROJECT_BUILD_DATE = f.read().strip()
45+
PROJECT_BUILD_DATE = datetime.fromisoformat(f.read().strip())
4646
except FileNotFoundError:
4747
pass
4848

0 commit comments

Comments
 (0)