{"action":"created","issue":{"url":"https://api.github.com/repos/Lamecarlate/republican-calendar/issues/2","repository_url":"https://api.github.com/repos/Lamecarlate/republican-calendar","labels_url":"https://api.github.com/repos/Lamecarlate/republican-calendar/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Lamecarlate/republican-calendar/issues/2/comments","events_url":"https://api.github.com/repos/Lamecarlate/republican-calendar/issues/2/events","html_url":"https://github.com/Lamecarlate/republican-calendar/pull/2","id":303506181,"number":2,"title":"Calendar","user":{"login":"popy-dev","id":8566018,"avatar_url":"https://avatars3.githubusercontent.com/u/8566018?v=4","gravatar_id":"","url":"https://api.github.com/users/popy-dev","html_url":"https://github.com/popy-dev","followers_url":"https://api.github.com/users/popy-dev/followers","following_url":"https://api.github.com/users/popy-dev/following{/other_user}","gists_url":"https://api.github.com/users/popy-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/popy-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/popy-dev/subscriptions","organizations_url":"https://api.github.com/users/popy-dev/orgs","repos_url":"https://api.github.com/users/popy-dev/repos","events_url":"https://api.github.com/users/popy-dev/events{/privacy}","received_events_url":"https://api.github.com/users/popy-dev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-08T14:50:08Z","updated_at":"2018-03-09T18:22:30Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/Lamecarlate/republican-calendar/pulls/2","html_url":"https://github.com/Lamecarlate/republican-calendar/pull/2","diff_url":"https://github.com/Lamecarlate/republican-calendar/pull/2.diff","patch_url":"https://github.com/Lamecarlate/republican-calendar/pull/2.patch"},"body":"Hop, j'étais en manque de motivation pour le boulot, donc voici une PR-rustine pour le ticket #1 .\r\n\r\n* J'ai importé ma lib de calendrier républicain via composer\r\n* J'ai modifié la façon de récupérer la date depuis _GET histoire de pouvoir tester plus facilement sur des années sextiles (cf http://informatique.lamecarlate.net/web/experiences/republican-calendar/?date=1999-09-22 une fois mergé)\r\n* Et pour finir le formatage de la date se fait via ma lib, ainsi que l'extraction du nom du jour.\r\n\r\nA noter\r\n----------\r\n\r\n* Au cas où tu ne connaisse pas [composer](https://getcomposer.org/), pour installer les dépendances il faudra utiliser la commande ```php composer.phar install```\r\n* La lib utilisée fonctionne avec (presque) la même syntaxe de formatage que la fonction [date](http://php.net/manual/fr/function.date.php) de php\r\n* Le calcul des année sextiles est configurable. Par défaut, il s'agit de la convention de Romme initiale, à savoir que les années bisextiles sont les années 3, 7, 11, 15, 19, 23, etc. Il est possible d'utiliser l'alternative selon laquelle l'année sextile de l'an 19 aurait été reportée à l'an 20, pour tomber sur des années sextiles divisibles par 4.\r\n* La lib implémente par défaut les heures décimales, sait-on jamais.\r\n\r\nSinon, Lamecarlate, ca a un rapport quelconque avec WoW ?"},"comment":{"url":"https://api.github.com/repos/Lamecarlate/republican-calendar/issues/comments/371901523","html_url":"https://github.com/Lamecarlate/republican-calendar/pull/2#issuecomment-371901523","issue_url":"https://api.github.com/repos/Lamecarlate/republican-calendar/issues/2","id":371901523,"user":{"login":"popy-dev","id":8566018,"avatar_url":"https://avatars3.githubusercontent.com/u/8566018?v=4","gravatar_id":"","url":"https://api.github.com/users/popy-dev","html_url":"https://github.com/popy-dev","followers_url":"https://api.github.com/users/popy-dev/followers","following_url":"https://api.github.com/users/popy-dev/following{/other_user}","gists_url":"https://api.github.com/users/popy-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/popy-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/popy-dev/subscriptions","organizations_url":"https://api.github.com/users/popy-dev/orgs","repos_url":"https://api.github.com/users/popy-dev/repos","events_url":"https://api.github.com/users/popy-dev/events{/privacy}","received_events_url":"https://api.github.com/users/popy-dev/received_events","type":"User","site_admin":false},"created_at":"2018-03-09T18:22:30Z","updated_at":"2018-03-09T18:22:30Z","author_association":"NONE","body":"Yep, moi aussi je me suis amusé quand j'ai re-découvert le calendrier républicain :)\r\n\r\nPour la saison en effet j'ai zappé ca (et la lib ne fait \"que\" formatter et parser) , je pensais que ca n'était pas utilisé. Après on peut simplement mapper les mois vers une saison."}}
{"actor":{"display_login":"popy-dev"}}