{"action":"created","issue":{"url":"https://api.github.com/repos/toml-lang/toml/issues/297","labels_url":"https://api.github.com/repos/toml-lang/toml/issues/297/labels{/name}","comments_url":"https://api.github.com/repos/toml-lang/toml/issues/297/comments","events_url":"https://api.github.com/repos/toml-lang/toml/issues/297/events","html_url":"https://github.com/toml-lang/toml/pull/297","id":56877132,"number":297,"title":"Allow less specific datetimes.","user":{"login":"mojombo","id":1,"avatar_url":"https://avatars.githubusercontent.com/u/1?v=3","gravatar_id":"","url":"https://api.github.com/users/mojombo","html_url":"https://github.com/mojombo","followers_url":"https://api.github.com/users/mojombo/followers","following_url":"https://api.github.com/users/mojombo/following{/other_user}","gists_url":"https://api.github.com/users/mojombo/gists{/gist_id}","starred_url":"https://api.github.com/users/mojombo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojombo/subscriptions","organizations_url":"https://api.github.com/users/mojombo/orgs","repos_url":"https://api.github.com/users/mojombo/repos","events_url":"https://api.github.com/users/mojombo/events{/privacy}","received_events_url":"https://api.github.com/users/mojombo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-02-06T22:28:58Z","updated_at":"2015-10-17T16:20:03Z","closed_at":"2015-10-16T04:30:50Z","pull_request":{"url":"https://api.github.com/repos/toml-lang/toml/pulls/297","html_url":"https://github.com/toml-lang/toml/pull/297","diff_url":"https://github.com/toml-lang/toml/pull/297.diff","patch_url":"https://github.com/toml-lang/toml/pull/297.patch"},"body":"This allows three kinds of datetimes:\r\n\r\n```bash\r\n# Full RFC 3339\r\n1979-05-27T07:32:00Z\r\n1979-05-27T00:32:00-07:00\r\n1979-05-27T00:32:00.999999-07:00\r\n\r\n# No local offset\r\n1979-05-27T07:32:00\r\n1979-05-27T00:32:00.999999\r\n\r\n# No local offset or time\r\n1979-05-27\r\n```\r\n\r\nSee #263 for why this is being proposed."},"comment":{"url":"https://api.github.com/repos/toml-lang/toml/issues/comments/148929201","html_url":"https://github.com/toml-lang/toml/pull/297#issuecomment-148929201","issue_url":"https://api.github.com/repos/toml-lang/toml/issues/297","id":148929201,"user":{"login":"ChristianSi","id":4480899,"avatar_url":"https://avatars.githubusercontent.com/u/4480899?v=3","gravatar_id":"","url":"https://api.github.com/users/ChristianSi","html_url":"https://github.com/ChristianSi","followers_url":"https://api.github.com/users/ChristianSi/followers","following_url":"https://api.github.com/users/ChristianSi/following{/other_user}","gists_url":"https://api.github.com/users/ChristianSi/gists{/gist_id}","starred_url":"https://api.github.com/users/ChristianSi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChristianSi/subscriptions","organizations_url":"https://api.github.com/users/ChristianSi/orgs","repos_url":"https://api.github.com/users/ChristianSi/repos","events_url":"https://api.github.com/users/ChristianSi/events{/privacy}","received_events_url":"https://api.github.com/users/ChristianSi/received_events","type":"User","site_admin":false},"created_at":"2015-10-17T16:20:03Z","updated_at":"2015-10-17T16:20:03Z","body":"On second thought, maybe change\r\n\r\n> The precision of fractional seconds is implementation specific and no minimum is expected.\r\n\r\nto\r\n\r\n> The precision of fractional seconds is implementation specific, but at least millisecond precision is expected.\r\n\r\n?\r\n\r\nRounding 12.345678 secs to 12 secs *would* feel a bit rogue to me.\r\n\r\nIf millisecond precision is the common minimum, then I think it would be OK to make the warning optional (\"may\" instead of \"should\")."}}