From db5de81c092ce11c468377a7d854c42c85b268da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Thu, 5 Jan 2023 23:30:43 +0100 Subject: [PATCH] Add make date --- Dockerfile | 2 +- Makefile | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 25d9438..0afa247 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/Makefile b/Makefile index 541f0a5..518a469 100644 --- a/Makefile +++ b/Makefile @@ -46,4 +46,7 @@ test: poetry.lock poetry run pytest sethookdir: - git config core.hooksPath .githooks \ No newline at end of file + 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=" "))' \ No newline at end of file