{"action":"created","issue":{"url":"https://api.github.com/repos/exercism/xrust/issues/79","repository_url":"https://api.github.com/repos/exercism/xrust","labels_url":"https://api.github.com/repos/exercism/xrust/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/exercism/xrust/issues/79/comments","events_url":"https://api.github.com/repos/exercism/xrust/issues/79/events","html_url":"https://github.com/exercism/xrust/pull/79","id":138744002,"number":79,"title":"Implement Gigasecond exercise","user":{"login":"IanWhitney","id":12144,"avatar_url":"https://avatars.githubusercontent.com/u/12144?v=3","gravatar_id":"","url":"https://api.github.com/users/IanWhitney","html_url":"https://github.com/IanWhitney","followers_url":"https://api.github.com/users/IanWhitney/followers","following_url":"https://api.github.com/users/IanWhitney/following{/other_user}","gists_url":"https://api.github.com/users/IanWhitney/gists{/gist_id}","starred_url":"https://api.github.com/users/IanWhitney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IanWhitney/subscriptions","organizations_url":"https://api.github.com/users/IanWhitney/orgs","repos_url":"https://api.github.com/users/IanWhitney/repos","events_url":"https://api.github.com/users/IanWhitney/events{/privacy}","received_events_url":"https://api.github.com/users/IanWhitney/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-06T02:07:07Z","updated_at":"2016-03-17T17:07:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/exercism/xrust/pulls/79","html_url":"https://github.com/exercism/xrust/pull/79","diff_url":"https://github.com/exercism/xrust/pull/79.diff","patch_url":"https://github.com/exercism/xrust/pull/79.patch"},"body":"Adding the [Gigasecond exercise](http://x.exercism.io/problems/gigasecond) for the Rust track.\r\n\r\nThis exercise is a little odd in Rust as the core language has no library for dealing with time. There was the Time crate, but that was pulled from the standard library. Based on [this RFC](https://github.com/rust-lang/rfcs/issues/619) from last year, the Chrono crate appears to be the best current library for dealing with time. I've used Chrono here.\r\n\r\nEither because I'm still new to Rust, or because of an actual limitation in Chrono, the best way I could write the tests was to have everything be a UTC DateTime. This means that the tests that only use dates still require the slightly weird `.and_hms(0,0,0)` function at the end to make them DateTime-y. I did this because Chrono only seems to support Duration addition for DateTimes, not Dates."},"comment":{"url":"https://api.github.com/repos/exercism/xrust/issues/comments/197977410","html_url":"https://github.com/exercism/xrust/pull/79#issuecomment-197977410","issue_url":"https://api.github.com/repos/exercism/xrust/issues/79","id":197977410,"user":{"login":"EduardoBautista","id":1585126,"avatar_url":"https://avatars.githubusercontent.com/u/1585126?v=3","gravatar_id":"","url":"https://api.github.com/users/EduardoBautista","html_url":"https://github.com/EduardoBautista","followers_url":"https://api.github.com/users/EduardoBautista/followers","following_url":"https://api.github.com/users/EduardoBautista/following{/other_user}","gists_url":"https://api.github.com/users/EduardoBautista/gists{/gist_id}","starred_url":"https://api.github.com/users/EduardoBautista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EduardoBautista/subscriptions","organizations_url":"https://api.github.com/users/EduardoBautista/orgs","repos_url":"https://api.github.com/users/EduardoBautista/repos","events_url":"https://api.github.com/users/EduardoBautista/events{/privacy}","received_events_url":"https://api.github.com/users/EduardoBautista/received_events","type":"User","site_admin":false},"created_at":"2016-03-17T17:07:43Z","updated_at":"2016-03-17T17:07:43Z","body":"I am not too sure of this one.  I don't think we should include exercises that require including other libraries.  Also, if we do include it, it should probably be at the top since the solution appears to be simple after including all the other libraries.\r\n\r\nThoughts @petertseng ?"}}