OC-41: [Calendar] Date format not translatable

This commit is contained in:
Bart Visscher 2012-01-19 21:39:05 +01:00
parent 24748ee10f
commit 7c03b612d2

View file

@ -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,