summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--program/templates/day_schedule.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/program/templates/day_schedule.html b/program/templates/day_schedule.html
index cef60ba..f8d517c 100644
--- a/program/templates/day_schedule.html
+++ b/program/templates/day_schedule.html
@@ -9,9 +9,10 @@
<script type="text/javascript">
jQuery(document).ready(function() {
jQuery("#calendar").datepicker({
- defaultDate: location.href.split('/').slice(4, 7).reverse().join('.'),
+ dateFormat: "yy.mm.dd",
+ defaultDate: location.href.split('/').slice(4, 7).join('.'),
onSelect: function(dateText, inst) {
- location = '/programm/' + dateText.split('.').reverse().join('/');
+ location = '/programm/' + dateText.split('.').join('/');
}
});
});