summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-09-07 21:47:02 +0300
committerPhilip Sargent <philip.sargent@gmail.com>2023-09-07 21:47:02 +0300
commit8b76cad15aa84d8ccd7cea31deb7ae64381c4c3c (patch)
tree65aed8f7bf15c68750e91f2630ca70937010ae35 /core
parent1631111a7f59e5f4509ae4ae7c1de628864b1d6d (diff)
downloadtroggle-8b76cad15aa84d8ccd7cea31deb7ae64381c4c3c.tar.gz
troggle-8b76cad15aa84d8ccd7cea31deb7ae64381c4c3c.tar.bz2
troggle-8b76cad15aa84d8ccd7cea31deb7ae64381c4c3c.zip
EPOCH = 1970-01-01
Diffstat (limited to 'core')
-rw-r--r--core/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/utils.py b/core/utils.py
index 8cd94e2..9144113 100644
--- a/core/utils.py
+++ b/core/utils.py
@@ -82,7 +82,7 @@ def current_expo():
if expos:
return expos[0].year
else:
- return "1970"
+ return settings.EPOCH.year
def only_commit(fname, message):
"""Only used to commit a survex file edited and saved in view/survex.py"""