Skip to content

Commit

Permalink
fix additional issue with datetime sorter
Browse files Browse the repository at this point in the history
  • Loading branch information
olifolkerd committed Apr 21, 2022
1 parent 81e0af9 commit 196c457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/modules/Sort/defaults/sorters/datetime.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default function(a, b, aRow, bRow, column, dir, params){
if(typeof DT != "undefined"){
if(DT.isDateTime(a)){
a = a;
}else if(inputFormat === "iso"){
}else if(format === "iso"){
a = DT.fromISO(String(a));
}else{
a = DT.fromFormat(String(a), format);
Expand Down

0 comments on commit 196c457

Please sign in to comment.