{"action":"created","issue":{"url":"https://api.github.com/repos/ckan/ckan/issues/3342","repository_url":"https://api.github.com/repos/ckan/ckan","labels_url":"https://api.github.com/repos/ckan/ckan/issues/3342/labels{/name}","comments_url":"https://api.github.com/repos/ckan/ckan/issues/3342/comments","events_url":"https://api.github.com/repos/ckan/ckan/issues/3342/events","html_url":"https://github.com/ckan/ckan/pull/3342","id":193086969,"number":3342,"title":"javascript: use ckan locale instead of browser locale to format dates","user":{"login":"fanderegg","id":19152600,"avatar_url":"https://avatars.githubusercontent.com/u/19152600?v=3","gravatar_id":"","url":"https://api.github.com/users/fanderegg","html_url":"https://github.com/fanderegg","followers_url":"https://api.github.com/users/fanderegg/followers","following_url":"https://api.github.com/users/fanderegg/following{/other_user}","gists_url":"https://api.github.com/users/fanderegg/gists{/gist_id}","starred_url":"https://api.github.com/users/fanderegg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fanderegg/subscriptions","organizations_url":"https://api.github.com/users/fanderegg/orgs","repos_url":"https://api.github.com/users/fanderegg/repos","events_url":"https://api.github.com/users/fanderegg/events{/privacy}","received_events_url":"https://api.github.com/users/fanderegg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"wardi","id":153258,"avatar_url":"https://avatars.githubusercontent.com/u/153258?v=3","gravatar_id":"","url":"https://api.github.com/users/wardi","html_url":"https://github.com/wardi","followers_url":"https://api.github.com/users/wardi/followers","following_url":"https://api.github.com/users/wardi/following{/other_user}","gists_url":"https://api.github.com/users/wardi/gists{/gist_id}","starred_url":"https://api.github.com/users/wardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wardi/subscriptions","organizations_url":"https://api.github.com/users/wardi/orgs","repos_url":"https://api.github.com/users/wardi/repos","events_url":"https://api.github.com/users/wardi/events{/privacy}","received_events_url":"https://api.github.com/users/wardi/received_events","type":"User","site_admin":false},"assignees":[{"login":"wardi","id":153258,"avatar_url":"https://avatars.githubusercontent.com/u/153258?v=3","gravatar_id":"","url":"https://api.github.com/users/wardi","html_url":"https://github.com/wardi","followers_url":"https://api.github.com/users/wardi/followers","following_url":"https://api.github.com/users/wardi/following{/other_user}","gists_url":"https://api.github.com/users/wardi/gists{/gist_id}","starred_url":"https://api.github.com/users/wardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wardi/subscriptions","organizations_url":"https://api.github.com/users/wardi/orgs","repos_url":"https://api.github.com/users/wardi/repos","events_url":"https://api.github.com/users/wardi/events{/privacy}","received_events_url":"https://api.github.com/users/wardi/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-12-02T10:49:48Z","updated_at":"2016-12-06T12:49:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ckan/ckan/pulls/3342","html_url":"https://github.com/ckan/ckan/pull/3342","diff_url":"https://github.com/ckan/ckan/pull/3342.diff","patch_url":"https://github.com/ckan/ckan/pull/3342.patch"},"body":"The current implementation of the automatic conversion of dates into the timezone of the browser uses the language of the browser to format/translate the date. The problem is when the browser language is different from the current ckan language, the date is translated into a different language than the rest of the ckan interface. With this pull request we always use the current ckan locale to translate the date.\r\n\r\n- [ ] includes tests covering changes\r\n- [ ] includes updated documentation\r\n- [x] includes user-visible changes\r\n- [ ] includes API changes\r\n- [x] includes bugfix for possible backport\r\n"},"comment":{"url":"https://api.github.com/repos/ckan/ckan/issues/comments/265142065","html_url":"https://github.com/ckan/ckan/pull/3342#issuecomment-265142065","issue_url":"https://api.github.com/repos/ckan/ckan/issues/3342","id":265142065,"user":{"login":"wardi","id":153258,"avatar_url":"https://avatars.githubusercontent.com/u/153258?v=3","gravatar_id":"","url":"https://api.github.com/users/wardi","html_url":"https://github.com/wardi","followers_url":"https://api.github.com/users/wardi/followers","following_url":"https://api.github.com/users/wardi/following{/other_user}","gists_url":"https://api.github.com/users/wardi/gists{/gist_id}","starred_url":"https://api.github.com/users/wardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wardi/subscriptions","organizations_url":"https://api.github.com/users/wardi/orgs","repos_url":"https://api.github.com/users/wardi/repos","events_url":"https://api.github.com/users/wardi/events{/privacy}","received_events_url":"https://api.github.com/users/wardi/received_events","type":"User","site_admin":false},"created_at":"2016-12-06T12:49:58Z","updated_at":"2016-12-06T12:49:58Z","body":"You should be able to add\r\n```ini\r\nckan.display_timezone = server\r\n```\r\nSee http://docs.ckan.org/en/latest/maintaining/configuration.html?highlight=display_timezone#ckan-display-timezone\r\n\r\nIf not, we should fix that."}}
{"actor":{"display_login":"wardi"}}