summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
Diffstat (limited to 'searx')
-rw-r--r--searx/version.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/version.py b/searx/version.py
index 678dab4b2..ec72062e6 100644
--- a/searx/version.py
+++ b/searx/version.py
@@ -58,7 +58,7 @@ def get_git_url_and_branch():
def get_git_version():
- git_commit_date_hash = subprocess_run(r"git show -s --format='%cs-%h'").replace("-", ".", 2)
+ git_commit_date_hash = subprocess_run(r"git show -s --date='format:%Y.%m.%d' --format='%cd-%h'")
tag_version = git_version = git_commit_date_hash
# add "-dirty" suffix if there are uncommited changes except searx/settings.yml