{"action":"created","issue":{"url":"https://api.github.com/repos/eddelbuettel/anytime/issues/35","repository_url":"https://api.github.com/repos/eddelbuettel/anytime","labels_url":"https://api.github.com/repos/eddelbuettel/anytime/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/eddelbuettel/anytime/issues/35/comments","events_url":"https://api.github.com/repos/eddelbuettel/anytime/issues/35/events","html_url":"https://github.com/eddelbuettel/anytime/issues/35","id":193479713,"number":35,"title":"Milliseconds rounding issues","user":{"login":"cactus74","id":22644863,"avatar_url":"https://avatars.githubusercontent.com/u/22644863?v=3","gravatar_id":"","url":"https://api.github.com/users/cactus74","html_url":"https://github.com/cactus74","followers_url":"https://api.github.com/users/cactus74/followers","following_url":"https://api.github.com/users/cactus74/following{/other_user}","gists_url":"https://api.github.com/users/cactus74/gists{/gist_id}","starred_url":"https://api.github.com/users/cactus74/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cactus74/subscriptions","organizations_url":"https://api.github.com/users/cactus74/orgs","repos_url":"https://api.github.com/users/cactus74/repos","events_url":"https://api.github.com/users/cactus74/events{/privacy}","received_events_url":"https://api.github.com/users/cactus74/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-05T12:04:04Z","updated_at":"2016-12-05T12:17:52Z","closed_at":null,"body":"Dirk,\r\n\r\nI was glancing through the anytime functionalities and ended up discovering there must be an issue with rounding.\r\n\r\n```\r\n> options(digits.secs=6)\r\n> format(anytime(\"2016-02-25 17:34:00.376\", tz=\"America/New_York\"), \"%Y-%m-%d %H:%M:%OS %Z\")\r\n[1] \"2016-02-25 11:34:00.375999 EST\"\r\n> format(anytime(\"2016-02-25 17:34:00.377\", tz=\"America/New_York\"), \"%Y-%m-%d %H:%M:%OS %Z\")\r\n[1] \"2016-02-25 11:34:00.377000 EST\"\r\n> format(anytime(\"2016-02-25 17:34:00.375\", tz=\"America/New_York\"), \"%Y-%m-%d %H:%M:%OS %Z\")\r\n[1] \"2016-02-25 11:34:00.375000 EST\"\r\n> options(digits.secs=3)\r\n> format(anytime(\"2016-02-25 17:34:00.376\", tz=\"America/New_York\"), \"%Y-%m-%d %H:%M:%OS %Z\")\r\n[1] \"2016-02-25 11:34:00.375 EST\"`\r\n```"},"comment":{"url":"https://api.github.com/repos/eddelbuettel/anytime/issues/comments/264840210","html_url":"https://github.com/eddelbuettel/anytime/issues/35#issuecomment-264840210","issue_url":"https://api.github.com/repos/eddelbuettel/anytime/issues/35","id":264840210,"user":{"login":"eddelbuettel","id":673121,"avatar_url":"https://avatars.githubusercontent.com/u/673121?v=3","gravatar_id":"","url":"https://api.github.com/users/eddelbuettel","html_url":"https://github.com/eddelbuettel","followers_url":"https://api.github.com/users/eddelbuettel/followers","following_url":"https://api.github.com/users/eddelbuettel/following{/other_user}","gists_url":"https://api.github.com/users/eddelbuettel/gists{/gist_id}","starred_url":"https://api.github.com/users/eddelbuettel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eddelbuettel/subscriptions","organizations_url":"https://api.github.com/users/eddelbuettel/orgs","repos_url":"https://api.github.com/users/eddelbuettel/repos","events_url":"https://api.github.com/users/eddelbuettel/events{/privacy}","received_events_url":"https://api.github.com/users/eddelbuettel/received_events","type":"User","site_admin":false},"created_at":"2016-12-05T12:17:52Z","updated_at":"2016-12-05T12:17:52Z","body":"Formating is done by `format.POSIXct` and is an R _feature_.  Little we can do here, besides formatting ourselves which I'd rather not get into."}}
{"actor":{"display_login":"eddelbuettel"}}