{"action":"opened","issue":{"url":"https://api.github.com/repos/bitwalker/timex/issues/111","labels_url":"https://api.github.com/repos/bitwalker/timex/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/bitwalker/timex/issues/111/comments","events_url":"https://api.github.com/repos/bitwalker/timex/issues/111/events","html_url":"https://github.com/bitwalker/timex/issues/111","id":120622650,"number":111,"title":"RFC: Add support for milliseconds to `Date.from`","user":{"login":"stoft","id":5726993,"avatar_url":"https://avatars.githubusercontent.com/u/5726993?v=3","gravatar_id":"","url":"https://api.github.com/users/stoft","html_url":"https://github.com/stoft","followers_url":"https://api.github.com/users/stoft/followers","following_url":"https://api.github.com/users/stoft/following{/other_user}","gists_url":"https://api.github.com/users/stoft/gists{/gist_id}","starred_url":"https://api.github.com/users/stoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stoft/subscriptions","organizations_url":"https://api.github.com/users/stoft/orgs","repos_url":"https://api.github.com/users/stoft/repos","events_url":"https://api.github.com/users/stoft/events{/privacy}","received_events_url":"https://api.github.com/users/stoft/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-06T10:02:54Z","updated_at":"2015-12-06T10:02:54Z","closed_at":null,"body":"Many systems/applications represent Unix time/epoch as milliseconds (any system using java.sql.Timestamp for example), not seconds. Adding milliseconds as an option would be a simple convenience to avoid having to take an extra step through `Time.from` first:\r\n\r\n```elixir\r\nmsecs |> Time.from(:msecs) |> Date.from(:timestamp)\r\n```\r\n\r\nWould become:\r\n```elixir\r\nDate.from(msecs, :msecs)\r\n```\r\n"}}