Run make date via poetry

This commit is contained in:
Lukáš Kucharczyk 2023-01-08 15:48:12 +01:00
parent 8e1c670ffd
commit 362732c22a
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ RUN npm install && \
FROM python:3.10.9-alpine FROM python:3.10.9-alpine
ENV VERSION_NUMBER 0.1.4 ENV VERSION_NUMBER 0.1.2-3-g8e1c670
ENV PROD 1 ENV PROD 1
RUN apk add \ RUN apk add \

View File

@ -56,7 +56,7 @@ sethookdir:
git config core.hooksPath .githooks git config core.hooksPath .githooks
date: date:
python3 -c 'import datetime; from zoneinfo import ZoneInfo; print(datetime.datetime.isoformat(datetime.datetime.now(ZoneInfo("Europe/Prague")), timespec="minutes", sep=" "))' poetry run python -c 'import datetime; from zoneinfo import ZoneInfo; print(datetime.datetime.isoformat(datetime.datetime.now(ZoneInfo("Europe/Prague")), timespec="minutes", sep=" "))'
cleanstatic: cleanstatic:
rm -r src/web/static/* rm -r src/web/static/*

View File

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "timetracker" name = "timetracker"
version = "0.1.4" version = "0.1.2"
description = "A simple time tracker." description = "A simple time tracker."
authors = ["Lukáš Kucharczyk <lukas@kucharczyk.xyz>"] authors = ["Lukáš Kucharczyk <lukas@kucharczyk.xyz>"]
license = "GPL" license = "GPL"