aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/default/event_calendar/full_calendar_view.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/event_calendar/full_calendar_view.php b/views/default/event_calendar/full_calendar_view.php
index 6fc59fcc8..44ffc70c3 100644
--- a/views/default/event_calendar/full_calendar_view.php
+++ b/views/default/event_calendar/full_calendar_view.php
@@ -157,7 +157,7 @@ handleViewDisplay = function(view) {
fullcalendarInit = function() {
var loadFullCalendar = function() {
- var locale = $.datepicker.regional[elgg.config.language];
+ var locale = $.datepicker.regional[elgg.get_language()];
if (!locale) {
locale = $.datepicker.regional[''];
}