{"action":"created","issue":{"url":"https://api.github.com/repos/dhall-lang/dhall-lang/issues/80","repository_url":"https://api.github.com/repos/dhall-lang/dhall-lang","labels_url":"https://api.github.com/repos/dhall-lang/dhall-lang/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/dhall-lang/dhall-lang/issues/80/comments","events_url":"https://api.github.com/repos/dhall-lang/dhall-lang/issues/80/events","html_url":"https://github.com/dhall-lang/dhall-lang/issues/80","id":293437580,"number":80,"title":"Date and time types and syntax","user":{"login":"matthiasgoergens","id":57026,"avatar_url":"https://avatars3.githubusercontent.com/u/57026?v=4","gravatar_id":"","url":"https://api.github.com/users/matthiasgoergens","html_url":"https://github.com/matthiasgoergens","followers_url":"https://api.github.com/users/matthiasgoergens/followers","following_url":"https://api.github.com/users/matthiasgoergens/following{/other_user}","gists_url":"https://api.github.com/users/matthiasgoergens/gists{/gist_id}","starred_url":"https://api.github.com/users/matthiasgoergens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthiasgoergens/subscriptions","organizations_url":"https://api.github.com/users/matthiasgoergens/orgs","repos_url":"https://api.github.com/users/matthiasgoergens/repos","events_url":"https://api.github.com/users/matthiasgoergens/events{/privacy}","received_events_url":"https://api.github.com/users/matthiasgoergens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-02-01T08:06:00Z","updated_at":"2018-02-05T16:05:19Z","closed_at":null,"author_association":"NONE","body":"Would it be possible to add date and time of day, and date-time as first class values with their own literals syntax?  We would probably want to think about time zones, while we are at it?\r\n\r\nI am thinking of something like `2018-01-31` or so.  The use case is that we are evaluating dhall for use as a configuration langue to specify when to schedule jobs.  (Think like a cron on steroids.)  Ability to specify time differences would also be handy."},"comment":{"url":"https://api.github.com/repos/dhall-lang/dhall-lang/issues/comments/363130833","html_url":"https://github.com/dhall-lang/dhall-lang/issues/80#issuecomment-363130833","issue_url":"https://api.github.com/repos/dhall-lang/dhall-lang/issues/80","id":363130833,"user":{"login":"Gabriel439","id":1313787,"avatar_url":"https://avatars3.githubusercontent.com/u/1313787?v=4","gravatar_id":"","url":"https://api.github.com/users/Gabriel439","html_url":"https://github.com/Gabriel439","followers_url":"https://api.github.com/users/Gabriel439/followers","following_url":"https://api.github.com/users/Gabriel439/following{/other_user}","gists_url":"https://api.github.com/users/Gabriel439/gists{/gist_id}","starred_url":"https://api.github.com/users/Gabriel439/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gabriel439/subscriptions","organizations_url":"https://api.github.com/users/Gabriel439/orgs","repos_url":"https://api.github.com/users/Gabriel439/repos","events_url":"https://api.github.com/users/Gabriel439/events{/privacy}","received_events_url":"https://api.github.com/users/Gabriel439/received_events","type":"User","site_admin":false},"created_at":"2018-02-05T16:05:19Z","updated_at":"2018-02-05T16:05:19Z","author_association":"CONTRIBUTOR","body":"So you could use the Haskell API to build this.  Specifically, you can use `typeWith` and `normalizeWith` to add new built-in types and functions to the language and one of those built-in functions could be `DateTime/parse : Text -> Optional DateTime`\r\n\r\nAlso, I'm always in favor of discussing ideas regardless of their likelihood of getting in the language because they help me better understand user needs."}}
{"actor":{"display_login":"Gabriel439"}}