create settings page, full timezone support
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
{% extends 'base.html' %}
|
||||
{% set currDay = datetime.now() %}
|
||||
{% set currDay = currDay.astimezone(ZoneInfo(current_user.timezone)) %}
|
||||
{% set currTime = currDay.strftime('%I:%M %p') %}
|
||||
{% set currDay = currDay.strftime('%m-%d-%Y') %}
|
||||
|
||||
{% block content %}
|
||||
<span><h1>{% block title %} Events {% endblock %}</h1></span>
|
||||
<b>Current Date: {{ currDay }} </b> <br> <br>
|
||||
<b>Current Date: {{ currDay }} </b> <br> <b>Current Time: {{ currTime }}</b> <br> <br>
|
||||
<div>
|
||||
{% for period in periods %}
|
||||
<div>
|
||||
|
Reference in New Issue
Block a user