OpenSlides/openslides/core/static/js/jquery/datepicker-config.js
Emanuel Schuetze d8d2ad002a Rename and clean up static direcories.
- rename static subdirs to css and js
- move global static dir to core/static, changed
- move global templates dir to core/templates
- check comments and code style of all our own CSS and JS files
- minor changes related to the changes of template and static files
2014-01-14 23:27:12 +01:00

46 lines
1.7 KiB
JavaScript

$(function() {
$.datepicker.regional[gettext('en')] = {
prevText: gettext('previous month'),
nextText: gettext('next month'),
monthNames: [
gettext('January'), gettext('February'), gettext('March'),
gettext('April'), gettext('May'), gettext('June'),
gettext('July'), gettext('August'), gettext('September'),
gettext('October'), gettext('November'), gettext('December')
],
monthNamesShort: [
gettext('Jan'), gettext('Feb'), gettext('Mar'),
gettext('Apr'), gettext('May'), gettext('Jun'),
gettext('Jul'), gettext('Aug'), gettext('Sep'),
gettext('Oct'), gettext('Nov'), gettext('Dec')
],
dayNames: [
gettext('Sunday'), gettext('Monday'), gettext('Tuesday'), gettext('Wednesday'),
gettext('Thursday'), gettext('Friday'), gettext('Saturday')
],
dayNamesMin: [
gettext('Su'), gettext('Mo'), gettext('Tu'), gettext('We'),
gettext('Th'), gettext('Fr'), gettext('Sa')
],
dayNamesShort: [
gettext('Su'), gettext('Mo'), gettext('Tu'), gettext('We'),
gettext('Th'), gettext('Fr'), gettext('Sa')
],
dateFormat: 'dd.mm.yy', firstDay: 1, isRTL: false
};
$.datepicker.setDefaults($.datepicker.regional[gettext('en')]);
$("#id_agenda_start_event_date_time").datetimepicker (
{
hour: 12,
timeFormat: 'HH:mm',
timeText: gettext('Time'),
hourText: gettext('Hour'),
minuteText: gettext('Minute'),
currentText: gettext('Current time'),
closeText: gettext('Close')
}
);
});