Skip to content
Snippets Groups Projects
Verified Commit ca7a85c9 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Remove hard-code locale-dependent format strings

parent 2fa65954
No related branches found
No related tags found
1 merge request!31Biscuit merge. Closes #53.
......@@ -15,7 +15,7 @@
<div class="row no-margin">
<div class="col s12 m6 l8 no-padding">
<h4>{% blocktrans %}Lessons{% endblocktrans %} {{ day|date:"l, j. F Y" }}</h4>
<h4>{% blocktrans %}Lessons{% endblocktrans %} {{ day|date:"l" }}, {{ day }}</h4>
</div>
<div class="col s12 m6 l4 no-padding" style="margin-top: 10px;">
{% include "chronos/partials/datepicker.html" %}
......
......@@ -17,7 +17,7 @@
{% if display_date_only %}
<div class="col s8">
<span class="card-title center-block" id="date">
{{ day|date:"l, j.n.Y" }}
{{ day|date:"l" }}, {{ day }}
</span>
</div>
{% else %}
......
......@@ -11,9 +11,9 @@
{# Time dimension of lesson #}
<div class="right timetable-time grey-text text-darken-2">
{% with period_obj=periods|get_dict:period %}
<span>{{ period_obj.0|date:"H:i" }}</span>
<span>{{ period_obj.0|time }}</span>
<br>
<span>{{ period_obj.1|date:"H:i" }}</span>
<span>{{ period_obj.1|time }}</span>
{% endwith %}
</div>
</div>
......
......@@ -57,7 +57,7 @@
</div>
</div>
<h5 class="hide-on-small-and-down">{{ day|date:"l, j. F Y" }}</h5>
<h5 class="hide-on-small-and-down">{{ day|date:"l" }}, {{ day }}</h5>
<table class="substitutions striped responsive-table">
<thead>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment