Merge pull request #1 from Michcioperz/patch-1

Fix time formatting in redeems dashboard
This commit is contained in:
Lin (Lili) Pavelů 2022-09-28 13:09:18 +02:00 committed by GitHub
commit 55f7f78adc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@
</thead> </thead>
{% for row in queue %} {% for row in queue %}
<tbody> <tbody>
<td>{{ row[0].replace(tzinfo=utc_timezone).astimezone().hour}}:{{row[0].replace(tzinfo=utc_timezone).astimezone().minute }}</td> <td>{{ row[0].replace(tzinfo=utc_timezone).astimezone().strftime("%H:%M") }}</td>
<td>{{ row[1] }}</td> <td>{{ row[1] }}</td>
<td>{{ row[2] }}</td> <td>{{ row[2] }}</td>
</tbody> </tbody>