From 86f57cb9533dceedfab4eac23bfab0b59ea9c02e Mon Sep 17 00:00:00 2001 From: denise Date: Thu, 10 Jan 2013 16:30:04 -0500 Subject: [PATCH] CC-4820: I18N: Date and Time picker of Record/rebroadcast show is not translated -fixed --- airtime_mvc/public/js/airtime/schedule/add-show.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/airtime_mvc/public/js/airtime/schedule/add-show.js b/airtime_mvc/public/js/airtime/schedule/add-show.js index 927e6f51e..c50ebafc9 100644 --- a/airtime_mvc/public/js/airtime/schedule/add-show.js +++ b/airtime_mvc/public/js/airtime/schedule/add-show.js @@ -317,11 +317,14 @@ function setAddShowEvents() { }); form.find('input[name^="add_show_rebroadcast_date_absolute"]').datepicker({ - minDate: adjustDateToServerDate(new Date(), timezoneOffset), - dateFormat: 'yy-mm-dd', - closeText: 'Close', - showButtonPanel: true, - firstDay: weekStart + minDate: adjustDateToServerDate(new Date(), timezoneOffset), + dateFormat: 'yy-mm-dd', + //i18n_months, i18n_days_short are in common.js + monthNames: i18n_months, + dayNamesMin: i18n_days_short, + closeText: 'Close', + showButtonPanel: true, + firstDay: weekStart }); form.find('input[name^="add_show_rebroadcast_time"]').timepicker({ amPmText: ['', ''],