fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Pd counter i18n fix.
[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
..
7296317
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>
+$.countdown.setDefaults($.countdown.regional['{{ LANGUAGE_CODE }}']);
d = new Date({{ pd_counter }}, 1, 1);
$('#countdown').countdown({until: d, format: 'ydHMS', serverSync: serverTime});
</script>