Skip to content

Commit

Permalink
Fixed issue #688 where the sorting by date is not correct in the data…
Browse files Browse the repository at this point in the history
…table.
  • Loading branch information
guerrerotook committed Nov 29, 2022
1 parent 02a7083 commit b36fc29
Show file tree
Hide file tree
Showing 167 changed files with 20,772 additions and 24,621 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
columns: [
{ "data": "Id" },
{ "data": "DonationDate", render: function ( data, type, row ) {
return moment(new Date(data)).format("DD/MM/YYYY HH:mm");
return moment(new Date(data)).format("DD/MM/YYYY");
}},
{ "data": "FoodBank" },
{ "data": "DonationAmount", render: $.fn.dataTable.render.number(',', '.', 2, '', '') },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@
columns: [
{ "data": "Id" },
{ "data": "Created", render: function ( data, type, row ) {
return moment(new Date(data)).format("DD/MM/YYYY HH:mm");
return moment(new Date(data)).format("DD/MM/YYYY");
}},
{ "data": "ExpirationTime", render: function ( data, type, row ) {
return moment(new Date(data)).format("DD/MM/YYYY HH:mm");
return moment(new Date(data)).format("DD/MM/YYYY");
}},
{ "data": "StartTime", render: function ( data, type, row ) {
return moment(new Date(data)).format("DD/MM/YYYY HH:mm");
return moment(new Date(data)).format("DD/MM/YYYY");
}},
{ "data": "SubscriptionType" },
{ "data": "Status",
Expand Down
6 changes: 3 additions & 3 deletions BancoAlimentar.AlimentaEstaIdeia.Web/libman.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
"defaultProvider": "cdnjs",
"libraries": [
{
"library": "[email protected].0",
"library": "[email protected].2",
"destination": "wwwroot/lib/bootstrap/"
},
{
"library": "[email protected].0",
"library": "[email protected].1",
"destination": "wwwroot/lib/jquery/"
},
{
"library": "[email protected].3",
"library": "[email protected].5",
"destination": "wwwroot/lib/jquery-validation/"
},
{
Expand Down
Loading

0 comments on commit b36fc29

Please sign in to comment.