Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion common/css/jquery.ui.datepicker.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,16 @@
left: -4px; /*must have*/
width: 200px; /*must have*/
height: 200px; /*must have*/
}
}

/* CSS for timepicker */
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 65px; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }

.ui-timepicker-rtl{ direction: rtl; }
.ui-timepicker-rtl dl { text-align: right; }
.ui-timepicker-rtl dl dd { margin: 0 65px 10px 10px; }
10 changes: 9 additions & 1 deletion common/js/ef_date.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
jQuery(document).ready(function() {
jQuery('.date-time-pick')
.datetimepicker({
dateFormat: 'M dd yy',
firstDay: ef_week_first_day,
alwaysSetTime: false,
controlType: 'select'
});

jQuery('.date-pick')
.datepicker({
dateFormat: 'M dd yy',
firstDay: ef_week_first_day,
firstDay: ef_week_first_day
});
});
Loading