Add make date

This commit is contained in:
Lukáš Kucharczyk 2023-01-05 23:30:43 +01:00
parent 15ed6504b1
commit db5de81c09
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
2 changed files with 5 additions and 2 deletions

View File

@ -6,7 +6,7 @@ RUN npm install && \
FROM python:3.10-slim-bullseye
ENV VERSION_NUMBER 0.1.0-46-gfd9bf8c
ENV VERSION_NUMBER 0.1.0-47-g15ed650
ENV PROD 1
RUN useradd --create-home --uid 1000 timetracker

View File

@ -47,3 +47,6 @@ test: poetry.lock
sethookdir:
git config core.hooksPath .githooks
make date:
python3 -c 'import datetime; from zoneinfo import ZoneInfo; print(datetime.datetime.isoformat(datetime.datetime.now(ZoneInfo("Europe/Prague")), timespec="minutes", sep=" "))'