diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-01-19 21:39:05 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-02-08 21:12:30 +0100 |
commit | 7c03b612d2c58f9cc02c46c82e137087b1591d07 (patch) | |
tree | 51f9d472d5f0ffc80f31825453761e364ba65d7c /apps/calendar | |
parent | 24748ee10fb6d165f51a3c99277a22106787696c (diff) | |
download | nextcloud-server-7c03b612d2c58f9cc02c46c82e137087b1591d07.tar.gz nextcloud-server-7c03b612d2c58f9cc02c46c82e137087b1591d07.zip |
OC-41: [Calendar] Date format not translatable
Diffstat (limited to 'apps/calendar')
-rw-r--r-- | apps/calendar/js/calendar.js | 12 |
1 files changed, 11 insertions, 1 deletions
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, |