Skip to content

Commit

Permalink
Merge pull request #193 from TheTransitClock/tc_issue_192
Browse files Browse the repository at this point in the history
Set date format of date picker to mm-dd-yy.
  • Loading branch information
scrudden authored Feb 24, 2020
2 parents f88db2b + 55d8a16 commit 8364504
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ $(function() {
var calendarIconTooltip = "Popup calendar to select date";
$( "#beginDate" ).datepicker({
dateFormat: "yy-mm-dd",
dateFormat: "mm-dd-yy",
showOtherMonths: true,
selectOtherMonths: true,
// Show button for calendar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ $(function() {
var calendarIconTooltip = "Popup calendar to select date";
$( "#beginDate" ).datepicker({
dateFormat: "yy-mm-dd",
dateFormat: "mm-dd-yy",
showOtherMonths: true,
selectOtherMonths: true,
// Show button for calendar
Expand All @@ -27,7 +27,7 @@ $(function() {
}
});
$( "#endDate" ).datepicker({
dateFormat: "yy-mm-dd",
dateFormat: "mm-dd-yy",
showOtherMonths: true,
selectOtherMonths: true,
// Show button for calendar
Expand Down

0 comments on commit 8364504

Please sign in to comment.