{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/1288","labels_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1288/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1288/comments","events_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1288/events","html_url":"https://github.com/rust-lang/rfcs/pull/1288","id":107444165,"number":1288,"title":"Improvements to the Time APIs","user":{"login":"wycats","id":4,"avatar_url":"https://avatars.githubusercontent.com/u/4?v=3","gravatar_id":"","url":"https://api.github.com/users/wycats","html_url":"https://github.com/wycats","followers_url":"https://api.github.com/users/wycats/followers","following_url":"https://api.github.com/users/wycats/following{/other_user}","gists_url":"https://api.github.com/users/wycats/gists{/gist_id}","starred_url":"https://api.github.com/users/wycats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wycats/subscriptions","organizations_url":"https://api.github.com/users/wycats/orgs","repos_url":"https://api.github.com/users/wycats/repos","events_url":"https://api.github.com/users/wycats/events{/privacy}","received_events_url":"https://api.github.com/users/wycats/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rfcs/labels/T-libs","name":"T-libs","color":"bfd4f2"}],"state":"open","locked":false,"assignee":{"login":"wycats","id":4,"avatar_url":"https://avatars.githubusercontent.com/u/4?v=3","gravatar_id":"","url":"https://api.github.com/users/wycats","html_url":"https://github.com/wycats","followers_url":"https://api.github.com/users/wycats/followers","following_url":"https://api.github.com/users/wycats/following{/other_user}","gists_url":"https://api.github.com/users/wycats/gists{/gist_id}","starred_url":"https://api.github.com/users/wycats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wycats/subscriptions","organizations_url":"https://api.github.com/users/wycats/orgs","repos_url":"https://api.github.com/users/wycats/repos","events_url":"https://api.github.com/users/wycats/events{/privacy}","received_events_url":"https://api.github.com/users/wycats/received_events","type":"User","site_admin":false},"milestone":null,"comments":21,"created_at":"2015-09-21T04:50:25Z","updated_at":"2015-09-25T23:28:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rfcs/pulls/1288","html_url":"https://github.com/rust-lang/rfcs/pull/1288","diff_url":"https://github.com/rust-lang/rfcs/pull/1288.diff","patch_url":"https://github.com/rust-lang/rfcs/pull/1288.patch"},"body":"[Rendered](https://github.com/wycats/rfcs/blob/time-improvements/text/0000-time-improvements.md)"},"comment":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/comments/143375282","html_url":"https://github.com/rust-lang/rfcs/pull/1288#issuecomment-143375282","issue_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1288","id":143375282,"user":{"login":"arielb1","id":1830974,"avatar_url":"https://avatars.githubusercontent.com/u/1830974?v=3","gravatar_id":"","url":"https://api.github.com/users/arielb1","html_url":"https://github.com/arielb1","followers_url":"https://api.github.com/users/arielb1/followers","following_url":"https://api.github.com/users/arielb1/following{/other_user}","gists_url":"https://api.github.com/users/arielb1/gists{/gist_id}","starred_url":"https://api.github.com/users/arielb1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arielb1/subscriptions","organizations_url":"https://api.github.com/users/arielb1/orgs","repos_url":"https://api.github.com/users/arielb1/repos","events_url":"https://api.github.com/users/arielb1/events{/privacy}","received_events_url":"https://api.github.com/users/arielb1/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T23:28:50Z","updated_at":"2015-09-25T23:28:50Z","body":"@eternaleye \r\n\r\n> You can't convert them into stable instants in UTC, either. If a leap second is added into the middle, the textual form would have a \":60\" if you iterated it up (where it didn't before the declaration occurred), while the integer nanoseconds you already converted doesn't change.\r\n> If you convert UTC -> Instant, a leap second is declared, and you convert it back to UTC, you get a timestamp that says it's one second earlier.\r\n\r\nI guess UTS is also unstable during the last 1000 seconds before a leap second, but that seems less scary - you won't get 00:00:00 rolling to 23:59:59 the previous day (you can still have 23:30:00 turn into 23:29:59, but that's less bad), and its limited to a 1 second delta during the 1000 critical seconds (rather than every second after the leap).\r\n\r\n> Also, you're assuming the ISO8601 timestamp is not for the TAI zone, which is included in modern timezone databases. If it is, then the conversion is stable.\r\n\r\nISO8601 timestamps \"in the wild\" are supposed to be in solar time, whatever that is (not in TAI anyway - that would cause a half-minute unsynchronization)"}}