From 7c03b612d2c58f9cc02c46c82e137087b1591d07 Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Thu, 19 Jan 2012 21:39:05 +0100 Subject: OC-41: [Calendar] Date format not translatable --- apps/calendar/js/calendar.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'apps/calendar') diff --git a/apps/calendar/js/calendar.js b/apps/calendar/js/calendar.js index 64c029404cb..92a8ba20205 100644 --- a/apps/calendar/js/calendar.js +++ b/apps/calendar/js/calendar.js @@ -668,8 +668,18 @@ $(document).ready(function(){ agenda: agendatime, '': defaulttime }, + columnFormat: { + month: t('calendar', 'ddd'), // Mon + week: t('calendar', 'ddd M/d'), // Mon 9/7 + day: t('calendar', 'dddd M/d') // Monday 9/7 + }, titleFormat: { - list: 'yyyy/MMM/d dddd' + month: t('calendar', 'MMMM yyyy'), + // September 2009 + week: t('calendar', "MMM d[ yyyy]{ '—'[ MMM] d yyyy}"), + // Sep 7 - 13 2009 + day: t('calendar', 'dddd, MMM d, yyyy'), + // Tuesday, Sep 8, 2009 }, axisFormat: defaulttime, monthNames: monthNames, -- cgit v1.2.3