{"action":"closed","issue":{"url":"https://api.github.com/repos/guzzle/guzzle/issues/1122","labels_url":"https://api.github.com/repos/guzzle/guzzle/issues/1122/labels{/name}","comments_url":"https://api.github.com/repos/guzzle/guzzle/issues/1122/comments","events_url":"https://api.github.com/repos/guzzle/guzzle/issues/1122/events","html_url":"https://github.com/guzzle/guzzle/issues/1122","id":87696551,"number":1122,"title":"Possible wrong date format in MessageFormatter","user":{"login":"rtheunissen","id":809191,"avatar_url":"https://avatars.githubusercontent.com/u/809191?v=3","gravatar_id":"","url":"https://api.github.com/users/rtheunissen","html_url":"https://github.com/rtheunissen","followers_url":"https://api.github.com/users/rtheunissen/followers","following_url":"https://api.github.com/users/rtheunissen/following{/other_user}","gists_url":"https://api.github.com/users/rtheunissen/gists{/gist_id}","starred_url":"https://api.github.com/users/rtheunissen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtheunissen/subscriptions","organizations_url":"https://api.github.com/users/rtheunissen/orgs","repos_url":"https://api.github.com/users/rtheunissen/repos","events_url":"https://api.github.com/users/rtheunissen/events{/privacy}","received_events_url":"https://api.github.com/users/rtheunissen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/guzzle/guzzle/labels/Bug","name":"Bug","color":"e10c02"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-12T11:14:54Z","updated_at":"2015-06-14T00:00:33Z","closed_at":"2015-06-14T00:00:33Z","body":"In [MessageFormatter](https://github.com/guzzle/guzzle/blob/master/src/MessageFormatter.php#L111) you are using `gmdate('c')`, but the date format specified in the [Apache docs](http://httpd.apache.org/docs/2.4/logs.html#common) is defined as: \r\n\r\n```\r\n[day/month/year:hour:minute:second zone]\r\nday = 2*digit\r\nmonth = 3*letter\r\nyear = 4*digit\r\nhour = 2*digit\r\nminute = 2*digit\r\nsecond = 2*digit\r\nzone = (`+' | `-') 4*digit\r\n```\r\n\r\nWas this intentional? The correct format is `gmdate(\"d/M/Y:H:i:s O\")`, I believe."}}