{"action":"created","issue":{"url":"https://api.github.com/repos/mtboren/NewHtmlReport/issues/2","repository_url":"https://api.github.com/repos/mtboren/NewHtmlReport","labels_url":"https://api.github.com/repos/mtboren/NewHtmlReport/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/mtboren/NewHtmlReport/issues/2/comments","events_url":"https://api.github.com/repos/mtboren/NewHtmlReport/issues/2/events","html_url":"https://github.com/mtboren/NewHtmlReport/issues/2","id":285092618,"number":2,"title":"Issue while trying to sort french formatted dates","user":{"login":"ethermcman","id":17126765,"avatar_url":"https://avatars0.githubusercontent.com/u/17126765?v=4","gravatar_id":"","url":"https://api.github.com/users/ethermcman","html_url":"https://github.com/ethermcman","followers_url":"https://api.github.com/users/ethermcman/followers","following_url":"https://api.github.com/users/ethermcman/following{/other_user}","gists_url":"https://api.github.com/users/ethermcman/gists{/gist_id}","starred_url":"https://api.github.com/users/ethermcman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethermcman/subscriptions","organizations_url":"https://api.github.com/users/ethermcman/orgs","repos_url":"https://api.github.com/users/ethermcman/repos","events_url":"https://api.github.com/users/ethermcman/events{/privacy}","received_events_url":"https://api.github.com/users/ethermcman/received_events","type":"User","site_admin":false},"labels":[{"id":296175481,"url":"https://api.github.com/repos/mtboren/NewHtmlReport/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":296175484,"url":"https://api.github.com/repos/mtboren/NewHtmlReport/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-12-29T13:23:14Z","updated_at":"2018-04-05T15:35:17Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nI'm starting to use your PoSh module but when I format dates like 'dd/MM/yyyy HH:mm:ss', the jquery tablesorter doesn't correctly sort dates.\r\nIs there a way to modify or configure this behaviour in your code?\r\nRegards."},"comment":{"url":"https://api.github.com/repos/mtboren/NewHtmlReport/issues/comments/378978448","html_url":"https://github.com/mtboren/NewHtmlReport/issues/2#issuecomment-378978448","issue_url":"https://api.github.com/repos/mtboren/NewHtmlReport/issues/2","id":378978448,"user":{"login":"ethermcman","id":17126765,"avatar_url":"https://avatars0.githubusercontent.com/u/17126765?v=4","gravatar_id":"","url":"https://api.github.com/users/ethermcman","html_url":"https://github.com/ethermcman","followers_url":"https://api.github.com/users/ethermcman/followers","following_url":"https://api.github.com/users/ethermcman/following{/other_user}","gists_url":"https://api.github.com/users/ethermcman/gists{/gist_id}","starred_url":"https://api.github.com/users/ethermcman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethermcman/subscriptions","organizations_url":"https://api.github.com/users/ethermcman/orgs","repos_url":"https://api.github.com/users/ethermcman/repos","events_url":"https://api.github.com/users/ethermcman/events{/privacy}","received_events_url":"https://api.github.com/users/ethermcman/received_events","type":"User","site_admin":false},"created_at":"2018-04-05T15:35:17Z","updated_at":"2018-04-05T15:35:17Z","author_association":"NONE","body":"Sorry for being late on your update...\r\nI've tried to follow your proposal but it did not work.\r\nMy very actual code:\r\n`Import-Module ActiveDirectory\r\nImport-Module NewHtmlReport\r\n$date = ((get-date).AddYears(-1)).ToString('dd MMM yyyy HH:mm:ss')\r\nNew-HtmlReport -Title \"Utilisateurs AD\" `\r\n    -PreContent \"<H3>Utilisateurs AD<H3>\" `\r\n    -PostContent \"<SPAN CLASS='footerInfo'>Généré le $(Get-Date -Format 'dd MMM yyyy HH:mm:ss')</SPAN>\" `\r\n    -InputObject (get-aduser -filter * -Properties * `\r\n    | Select @{n=\"Prénom\";e={$_.GivenName}},\r\n    @{n=\"Nom\";e={$_.SurName}},\r\n    Mail,\r\n    @{n=\"Titre\";e={$_.Title}},\r\n    @{n=\"Login AD\";e={$_.SamAccountName}},\r\n    @{n=\"Dernière connexion\";e={$_.LastLogonDate}},\r\n    @{n=\"bDoRowHighlight\";e={$_.LastLogonDate.ToString('dd MMM yyyy HH:mm:ss') -lt $date}},\r\n    @{n=\"Créé le\";e={$_.Created.ToString('dd MMM yyyy HH:mm:ss')}},\r\n    @{n=\"UO\";e={($_.DistinguishedName -split \",\",2)[1]}}|Sort Nom)`\r\n    |Out-File C:\\temp\\test.html`\r\n\r\nThanks for any help."}}
{"actor":{"display_login":"ethermcman"}}