Skip to content
Snippets Groups Projects
Commit bf661eb4 authored by Martin Mareš's avatar Martin Mareš
Browse files

Dobřichovice: Ještě trocha češtiny

parent e7e0cfd2
No related branches found
No related tags found
No related merge requests found
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>MFF Zoom Schedule</title> <title>Zoomový rozvrh ZŠ Dobřichovice</title>
<link rel=stylesheet href="{{ url_for('static', filename='mffzoom.css') }}?v=1" type='text/css' media=all> <link rel=stylesheet href="{{ url_for('static', filename='mffzoom.css') }}?v=1" type='text/css' media=all>
</head> </head>
<body> <body>
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<input type=submit name=submit value="Odeslat"> <input type=submit name=submit value="Odeslat">
</form> </form>
<h2>Schedule for {{ g.dow }} {{ g.date }}</h2> <h2>Rozvrh na {{ g.dow }} {{ g.date }}</h2>
<div id=heading> <div id=heading>
{% for r in g.room_boxes %} {% for r in g.room_boxes %}
......
...@@ -7,6 +7,7 @@ from datetime import datetime, timedelta ...@@ -7,6 +7,7 @@ from datetime import datetime, timedelta
import sys import sys
import dateutil import dateutil
import dateutil.tz import dateutil.tz
import locale
### Flask app object ### ### Flask app object ###
...@@ -15,6 +16,8 @@ app.config.from_pyfile('config.py') ...@@ -15,6 +16,8 @@ app.config.from_pyfile('config.py')
app.jinja_env.lstrip_blocks = True app.jinja_env.lstrip_blocks = True
app.jinja_env.trim_blocks = True app.jinja_env.trim_blocks = True
locale.setlocale(locale.LC_TIME, 'cs_CZ')
### Database connection ### ### Database connection ###
db_connection = None db_connection = None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment