{"action":"reopened","issue":{"url":"https://api.github.com/repos/vitmalina/w2ui/issues/1431","repository_url":"https://api.github.com/repos/vitmalina/w2ui","labels_url":"https://api.github.com/repos/vitmalina/w2ui/issues/1431/labels{/name}","comments_url":"https://api.github.com/repos/vitmalina/w2ui/issues/1431/comments","events_url":"https://api.github.com/repos/vitmalina/w2ui/issues/1431/events","html_url":"https://github.com/vitmalina/w2ui/issues/1431","id":197596839,"number":1431,"title":" Failures sort dates","user":{"login":"mendozada","id":19271675,"avatar_url":"https://avatars.githubusercontent.com/u/19271675?v=3","gravatar_id":"","url":"https://api.github.com/users/mendozada","html_url":"https://github.com/mendozada","followers_url":"https://api.github.com/users/mendozada/followers","following_url":"https://api.github.com/users/mendozada/following{/other_user}","gists_url":"https://api.github.com/users/mendozada/gists{/gist_id}","starred_url":"https://api.github.com/users/mendozada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mendozada/subscriptions","organizations_url":"https://api.github.com/users/mendozada/orgs","repos_url":"https://api.github.com/users/mendozada/repos","events_url":"https://api.github.com/users/mendozada/events{/privacy}","received_events_url":"https://api.github.com/users/mendozada/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-26T15:11:54Z","updated_at":"2017-01-10T13:44:23Z","closed_at":null,"body":"Why can not I sort the dates correctly?\r\n\r\n[https://jsfiddle.net/kfc1n3sL/21/](url)\r\n\r\nmy code in PHP \r\n\r\n`//array del grid con los registros de remitos correctos\r\n        $datos[] = array(\r\n        \t\t\t\t'recid'         => $row['IdMov'], //identificador para el grid\r\n                        'Descripcion'   => utf8_encode($row['Descripcion']),\r\n                        'TipoCpte'      => $row['TipoCpte'],\r\n                        'NroFactura'  => str_pad($row['IdSucursal'], 4,\"0\", STR_PAD_LEFT) .\"-\" . str_pad($row['IdCpte'], 8,\"0\", STR_PAD_LEFT),\r\n                        'FechaFactura'   => str_replace('-', '/',date(\"d-m-Y\", strtotime($row['FechaFactura']) )),// Transformo la fecha\r\n                        'FechaVencimiento'   =>  str_replace('-', '/',date(\"d-m-Y\", strtotime($row['FechaVencimiento']) )), // Transformo la fecha\r\n                        'Importe'      => $elimporte,\r\n                        'FechaCancelado'   =>  str_replace('-', '/',date(\"d-m-Y\", strtotime($row['FechaCancelado']) )), \r\n                     \r\n                        ); `"}}
{"actor":{"display_login":"mendozada"}}