summaryrefslogtreecommitdiff
path: root/resources/assets/js/moment-countdown.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/assets/js/moment-countdown.js')
-rw-r--r--resources/assets/js/moment-countdown.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/assets/js/moment-countdown.js b/resources/assets/js/moment-countdown.js
index f5effbc0..d12ee7ab 100644
--- a/resources/assets/js/moment-countdown.js
+++ b/resources/assets/js/moment-countdown.js
@@ -5,6 +5,8 @@
*/
$(document).ready(function () {
if (typeof moment !== 'undefined') {
+ moment.locale($('html').attr('lang'));
+
$.each($('.moment-countdown'), function (i, e) {
var span = $(e);
var text = span.html();