Skip to content

Commit

Permalink
Modified data format for query data picker (#1674)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chandra Lash authored and amplifi committed Jul 31, 2017
1 parent 5738444 commit 60a42c9
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions cadasta/templates/party/party_add.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
$(document).ready(function () {
$('.datepicker').datepicker({
yearRange: "c-200:c+200",
dateFormat: "yy-mm-dd",
changeMonth: true,
changeYear: true,
});
Expand Down
1 change: 1 addition & 0 deletions cadasta/templates/party/party_edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
$(document).ready(function () {
$('.datepicker').datepicker({
yearRange: "c-200:c+200",
dateFormat: "yy-mm-dd",
changeMonth: true,
changeYear: true,
});
Expand Down
1 change: 1 addition & 0 deletions cadasta/templates/party/relationship_edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
$(document).ready(function () {
$('.datepicker').datepicker({
yearRange: "c-200:c+200",
dateFormat: "yy-mm-dd",
changeMonth: true,
changeYear: true,
});
Expand Down
1 change: 1 addition & 0 deletions cadasta/templates/spatial/location_add.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@

$('.datepicker').datepicker({
yearRange: "c-200:c+200",
dateFormat: "yy-mm-dd",
changeMonth: true,
changeYear: true,
});
Expand Down
1 change: 1 addition & 0 deletions cadasta/templates/spatial/location_edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@

$('.datepicker').datepicker({
yearRange: "c-200:c+200",
dateFormat: "yy-mm-dd",
changeMonth: true,
changeYear: true,
});
Expand Down
1 change: 1 addition & 0 deletions cadasta/templates/spatial/relationship_add.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@

$('.datepicker').datepicker({
yearRange: "c-200:c+200",
dateFormat: "yy-mm-dd",
changeMonth: true,
changeYear: true,
});
Expand Down

0 comments on commit 60a42c9

Please sign in to comment.