{"action":"opened","issue":{"url":"https://api.github.com/repos/mozilla/addons-frontend/issues/1395","repository_url":"https://api.github.com/repos/mozilla/addons-frontend","labels_url":"https://api.github.com/repos/mozilla/addons-frontend/issues/1395/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/addons-frontend/issues/1395/comments","events_url":"https://api.github.com/repos/mozilla/addons-frontend/issues/1395/events","html_url":"https://github.com/mozilla/addons-frontend/issues/1395","id":190417970,"number":1395,"title":"i18n dates","user":{"login":"tofumatt","id":90871,"avatar_url":"https://avatars.githubusercontent.com/u/90871?v=3","gravatar_id":"","url":"https://api.github.com/users/tofumatt","html_url":"https://github.com/tofumatt","followers_url":"https://api.github.com/users/tofumatt/followers","following_url":"https://api.github.com/users/tofumatt/following{/other_user}","gists_url":"https://api.github.com/users/tofumatt/gists{/gist_id}","starred_url":"https://api.github.com/users/tofumatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tofumatt/subscriptions","organizations_url":"https://api.github.com/users/tofumatt/orgs","repos_url":"https://api.github.com/users/tofumatt/repos","events_url":"https://api.github.com/users/tofumatt/events{/privacy}","received_events_url":"https://api.github.com/users/tofumatt/received_events","type":"User","site_admin":false},"labels":[{"id":405136926,"url":"https://api.github.com/repos/mozilla/addons-frontend/labels/amo","name":"amo","color":"e99695","default":false},{"id":466264401,"url":"https://api.github.com/repos/mozilla/addons-frontend/labels/mobile%20pages%20v1","name":"mobile pages v1","color":"c5def5","default":false},{"id":377199370,"url":"https://api.github.com/repos/mozilla/addons-frontend/labels/needs%20discussion","name":"needs discussion","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-18T20:46:43Z","updated_at":"2016-11-18T20:46:43Z","closed_at":null,"body":"As mentioned in https://github.com/mozilla/addons-frontend/pull/1392#discussion_r88719472 we need to format our dates and they need to be i18n'd. I think moment.js would do the trick for this but importing just the correct locale into the app is puzzling me a bit.\r\n\r\nI can do `import moment from 'moment/min/moment-with-locales';` in a nice little dateformat component but that loads every locale which is wasteful (and huge). I'd like to include the moment locale with the current locale bundle but I'm a bit lost on how to do that.\r\n\r\nOr maybe we have a better date system already and I should use that."}}
{"actor":{"display_login":"tofumatt"}}