{"action":"closed","issue":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/9329","repository_url":"https://api.github.com/repos/cakephp/cakephp","labels_url":"https://api.github.com/repos/cakephp/cakephp/issues/9329/labels{/name}","comments_url":"https://api.github.com/repos/cakephp/cakephp/issues/9329/comments","events_url":"https://api.github.com/repos/cakephp/cakephp/issues/9329/events","html_url":"https://github.com/cakephp/cakephp/issues/9329","id":172568981,"number":9329,"title":"3.x Time::setToStringFormat does nothing?","user":{"login":"inoas","id":20972207,"avatar_url":"https://avatars.githubusercontent.com/u/20972207?v=3","gravatar_id":"","url":"https://api.github.com/users/inoas","html_url":"https://github.com/inoas","followers_url":"https://api.github.com/users/inoas/followers","following_url":"https://api.github.com/users/inoas/following{/other_user}","gists_url":"https://api.github.com/users/inoas/gists{/gist_id}","starred_url":"https://api.github.com/users/inoas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inoas/subscriptions","organizations_url":"https://api.github.com/users/inoas/orgs","repos_url":"https://api.github.com/users/inoas/repos","events_url":"https://api.github.com/users/inoas/events{/privacy}","received_events_url":"https://api.github.com/users/inoas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/cakephp/cakephp/milestones/99","html_url":"https://github.com/cakephp/cakephp/milestones/3.3.3","labels_url":"https://api.github.com/repos/cakephp/cakephp/milestones/99/labels","id":1954048,"number":99,"title":"3.3.3","description":"Bugfixes and minor features for 3.3.x","creator":{"login":"markstory","id":24086,"avatar_url":"https://avatars.githubusercontent.com/u/24086?v=3","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"open_issues":40,"closed_issues":4,"state":"open","created_at":"2016-08-22T02:32:21Z","updated_at":"2016-08-23T00:54:01Z","due_on":"2016-09-04T00:00:00Z","closed_at":null},"comments":1,"created_at":"2016-08-22T22:20:36Z","updated_at":"2016-08-23T00:54:01Z","closed_at":"2016-08-23T00:54:01Z","body":"This is a (multiple allowed):\r\n* [x] bug\r\n\r\n* CakePHP Version: 3.3.1\r\n\r\n### What you did\r\nWithin bootstrap.php:\r\n```php\r\nuse Cake\\I18n\\I18n;\r\nuse Cake\\I18n\\Time;\r\nI18n::defaultLocale('en-US');\r\nTime::setDefaultLocale('en-US');\r\nTime::setJsonEncodeFormat('yyyy-MM-dd HH:mm:ss');\r\n\r\n\r\nTime::setToStringFormat(\\IntlDateFormatter::SHORT);\r\n\r\n// The same method exists on Date, FrozenDate and FrozenTime\r\nTime::setToStringFormat(\\IntlDateFormatter::SHORT);\r\n\r\n\r\nTime::setToStringFormat([\r\n    \\IntlDateFormatter::FULL,\r\n    \\IntlDateFormatter::SHORT\r\n]);\r\n\r\nTime::setToStringFormat('yyyy-MM-dd HH:mm:ss');\r\n\r\n\r\n<?= h($user->created) ?>\r\n```\r\n\r\n### Expected Behavior\r\nDatetimes to render \"yyyy-MM-dd HH:mm:ss\"\r\n\r\n### Actual Behavior\r\nStill shows dates like such: `8/22/16, 9:41 PM`\r\n"}}
{"actor":{"display_login":"markstory"}}