1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Issue #1157 - Should fix datepicker locale issue.

This commit is contained in:
Cameron
2015-07-26 17:33:15 -07:00
parent df92643280
commit 03fb11dfc0
6 changed files with 94 additions and 442 deletions

View File

@@ -191,26 +191,7 @@ $(document).ready(function()
// https://github.com/smalot/bootstrap-datetimepicker
$("input.e-date").each(function() {
$(this).datetimepicker({
minView: 'month',
maxView: 'decade',
autoclose: true,
format: $(this).attr("data-date-format"),
weekStart: $(this).attr("data-date-firstday"),
language: $(this).attr("data-date-language")
});
});
$("input.e-datetime").each(function() {
$(this).datetimepicker({
autoclose: true,
format: $(this).attr("data-date-format"),
weekStart: $(this).attr("data-date-firstday"),
showMeridian: $(this).attr("data-date-ampm"),
language: $(this).attr("data-date-language")
});
});
/*