Version 1.1.0 #32

Merged
williamp merged 28 commits from testing into master 2023-04-16 19:58:10 +00:00
9 changed files with 105 additions and 22 deletions
Showing only changes of commit 3a3fd2da9a - Show all commits

View File

@@ -1,6 +1,7 @@
{% extends 'base.html' %}
{% set createdTime = datetime.fromtimestamp(task.created_timestamp) %}
{% set createdTime = datetime.strptime(str(createdTime), '%Y-%m-%d %H:%M:%S') %}
{% set createdTime = createdTime.astimezone(ZoneInfo(current_user.timezone)) %}
{% block content %}
<span><h1>{% block title %} {{ task.title }} {% endblock %}</h1></span>

View File

@@ -6,6 +6,7 @@
{% for task in tasks %}
{% set createdTime = datetime.fromtimestamp(task.created_timestamp) %}
{% set createdTime = datetime.strptime(str(createdTime), '%Y-%m-%d %H:%M:%S') %}
{% set createdTime = createdTime.astimezone(ZoneInfo(current_user.timezone)) %}
<div>
<a href="/task/{{ task.id }}">
<p><b>{{ task.title }}</b> </p>