{"action":"created","issue":{"url":"https://api.github.com/repos/yahoo/ember-intl/issues/212","labels_url":"https://api.github.com/repos/yahoo/ember-intl/issues/212/labels{/name}","comments_url":"https://api.github.com/repos/yahoo/ember-intl/issues/212/comments","events_url":"https://api.github.com/repos/yahoo/ember-intl/issues/212/events","html_url":"https://github.com/yahoo/ember-intl/issues/212","id":102917560,"number":212,"title":"date_format helper: nulls passed to format date show as linux epoch ","user":{"login":"adamacus","id":720663,"avatar_url":"https://avatars.githubusercontent.com/u/720663?v=3","gravatar_id":"","url":"https://api.github.com/users/adamacus","html_url":"https://github.com/adamacus","followers_url":"https://api.github.com/users/adamacus/followers","following_url":"https://api.github.com/users/adamacus/following{/other_user}","gists_url":"https://api.github.com/users/adamacus/gists{/gist_id}","starred_url":"https://api.github.com/users/adamacus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamacus/subscriptions","organizations_url":"https://api.github.com/users/adamacus/orgs","repos_url":"https://api.github.com/users/adamacus/repos","events_url":"https://api.github.com/users/adamacus/events{/privacy}","received_events_url":"https://api.github.com/users/adamacus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yahoo/ember-intl/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-25T00:05:25Z","updated_at":"2015-08-29T09:02:32Z","closed_at":null,"body":"When using {{date_format someVal}} where someVal=null in Chrome 44, the helper outputs 12/31/1969.  Personally I was expecting an empty string.  Looking more closely, this seems due to the fact that:\r\n\r\n    new Intl.DateTimeFormat().format(null)\r\n    \"12/31/1969\"\r\n\r\nWhich is kind of surprising.  Also, passing undefined to this produces the current date, which is even more mystifying, though currently the helper catches undefined values and throws an error.  Should the behavior of the helper here return an empty string?  Happy to PR this change if others agree."},"comment":{"url":"https://api.github.com/repos/yahoo/ember-intl/issues/comments/135964352","html_url":"https://github.com/yahoo/ember-intl/issues/212#issuecomment-135964352","issue_url":"https://api.github.com/repos/yahoo/ember-intl/issues/212","id":135964352,"user":{"login":"jasonmit","id":3108309,"avatar_url":"https://avatars.githubusercontent.com/u/3108309?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonmit","html_url":"https://github.com/jasonmit","followers_url":"https://api.github.com/users/jasonmit/followers","following_url":"https://api.github.com/users/jasonmit/following{/other_user}","gists_url":"https://api.github.com/users/jasonmit/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonmit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonmit/subscriptions","organizations_url":"https://api.github.com/users/jasonmit/orgs","repos_url":"https://api.github.com/users/jasonmit/repos","events_url":"https://api.github.com/users/jasonmit/events{/privacy}","received_events_url":"https://api.github.com/users/jasonmit/received_events","type":"User","site_admin":false},"created_at":"2015-08-29T09:02:32Z","updated_at":"2015-08-29T09:02:32Z","body":"All merged.  I just need to make it accessible through the global option via config/environment.js"}}