From 0cf1f856fadf90971bd0870fb0865616daff0a4c Mon Sep 17 00:00:00 2001 From: Marta Enina Date: Mon, 30 Jan 2023 21:09:30 +0300 Subject: [PATCH 1/3] refactor: prepend time counter date with intro --- time_counter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/time_counter.py b/time_counter.py index 76eb10a..04faf15 100644 --- a/time_counter.py +++ b/time_counter.py @@ -15,4 +15,4 @@ def getTimeBeforeSummer(): m = str((summer_time.seconds % 3600) // 60) s = str(summer_time.seconds % 60) - return str(summer_time.days) + ' д ' + h + ' ч ' + m + ' мин ' + s + ' сек' + return 'До лета осталось ' + str(summer_time.days) + ' д ' + h + ' ч ' + m + ' мин ' + s + ' сек' -- 2.30.3 From 2ef03cd5735ca28e1d4068e2efaa9a0d1be75676 Mon Sep 17 00:00:00 2001 From: mckunda Date: Mon, 30 Jan 2023 21:33:18 +0300 Subject: [PATCH 2/3] chore: update .gitignore --- .gitignore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 0540009..589d395 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ __pycache__/ -venv/ \ No newline at end of file +venv/ +.vscode/ +.idea/ \ No newline at end of file -- 2.30.3 From 15865adf1acd7bba6f1fe51a3534d1edab67e2b3 Mon Sep 17 00:00:00 2001 From: mckunda Date: Mon, 30 Jan 2023 21:34:32 +0300 Subject: [PATCH 3/3] refactor: remove initial data and preamble from data div --- templates/app.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/app.html b/templates/app.html index 2a07e05..5d89ebf 100644 --- a/templates/app.html +++ b/templates/app.html @@ -31,7 +31,7 @@
-

До лета осталось 14д 3ч 24м 30с

+