CC-4820: I18N: Date and Time picker of Record/rebroadcast show is not translated

-fixed
This commit is contained in:
denise 2013-01-10 16:30:04 -05:00
parent 4673f11d76
commit 86f57cb953
1 changed files with 8 additions and 5 deletions

View File

@ -319,6 +319,9 @@ function setAddShowEvents() {
form.find('input[name^="add_show_rebroadcast_date_absolute"]').datepicker({ form.find('input[name^="add_show_rebroadcast_date_absolute"]').datepicker({
minDate: adjustDateToServerDate(new Date(), timezoneOffset), minDate: adjustDateToServerDate(new Date(), timezoneOffset),
dateFormat: 'yy-mm-dd', dateFormat: 'yy-mm-dd',
//i18n_months, i18n_days_short are in common.js
monthNames: i18n_months,
dayNamesMin: i18n_days_short,
closeText: 'Close', closeText: 'Close',
showButtonPanel: true, showButtonPanel: true,
firstDay: weekStart firstDay: weekStart