home · contact · privacy
Explicitly use DATE_FORMAT in todays_date().
[plomtask] / templates / day.html
1 {% extends 'base.html' %}
2
3 {% block content %}
4 <h3>{{day.date}} / {{day.weekday}}</h3>
5 <p>
6 <a href="day?date={{day.prev_date}}">prev</a> | <a href="day?date={{day.next_date}}">next</a>
7 </p>
8 <form action="day?date={{day.date}}" method="POST">
9 comment: <input name="comment" value="{{day.comment|e}}" />
10 <input type="submit" value="OK" />
11 </form>
12 {% endblock %}
13