fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix buggy migration
[wolnelektury.git]
/
wolnelektury
/
templates
/
catalogue
/
pd_counter.html
diff --git
a/wolnelektury/templates/catalogue/pd_counter.html
b/wolnelektury/templates/catalogue/pd_counter.html
index
ed47409
..
79c0ada
100644
(file)
--- a/
wolnelektury/templates/catalogue/pd_counter.html
+++ b/
wolnelektury/templates/catalogue/pd_counter.html
@@
-1,5
+1,6
@@
<div id='countdown'></div>
<script>
<div id='countdown'></div>
<script>
+$.countdown.setDefaults($.countdown.regional['{{ LANGUAGE_CODE }}']);
d = new Date({{ pd_counter }}, 1, 1);
d = new Date({{ pd_counter }}, 1, 1);
-$('#countdown').countdown({until: d, format: 'ydHMS', serverSync: serverTime});
+$('#countdown').countdown({until: d, format: 'ydHMS', serverSync: serverTime});
</script>
</script>