{"action":"created","issue":{"url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1064","labels_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1064/labels{/name}","comments_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1064/comments","events_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1064/events","html_url":"https://github.com/backdrop/backdrop-issues/issues/1064","id":96558628,"number":1064,"title":"Date api module faulty check on system date.","user":{"login":"Graham-72","id":10559274,"avatar_url":"https://avatars.githubusercontent.com/u/10559274?v=3","gravatar_id":"","url":"https://api.github.com/users/Graham-72","html_url":"https://github.com/Graham-72","followers_url":"https://api.github.com/users/Graham-72/followers","following_url":"https://api.github.com/users/Graham-72/following{/other_user}","gists_url":"https://api.github.com/users/Graham-72/gists{/gist_id}","starred_url":"https://api.github.com/users/Graham-72/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Graham-72/subscriptions","organizations_url":"https://api.github.com/users/Graham-72/orgs","repos_url":"https://api.github.com/users/Graham-72/repos","events_url":"https://api.github.com/users/Graham-72/events{/privacy}","received_events_url":"https://api.github.com/users/Graham-72/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-22T12:35:39Z","updated_at":"2015-07-24T14:26:51Z","closed_at":null,"body":"Part of META #1063 Travis reported syntax error, unexpected '[' in /home/travis/build/backdrop/backdrop/core/modules/date/date_api/date_api.module on line 1733."},"comment":{"url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/comments/124540801","html_url":"https://github.com/backdrop/backdrop-issues/issues/1064#issuecomment-124540801","issue_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1064","id":124540801,"user":{"login":"serundeputy","id":6763671,"avatar_url":"https://avatars.githubusercontent.com/u/6763671?v=3","gravatar_id":"","url":"https://api.github.com/users/serundeputy","html_url":"https://github.com/serundeputy","followers_url":"https://api.github.com/users/serundeputy/followers","following_url":"https://api.github.com/users/serundeputy/following{/other_user}","gists_url":"https://api.github.com/users/serundeputy/gists{/gist_id}","starred_url":"https://api.github.com/users/serundeputy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serundeputy/subscriptions","organizations_url":"https://api.github.com/users/serundeputy/orgs","repos_url":"https://api.github.com/users/serundeputy/repos","events_url":"https://api.github.com/users/serundeputy/events{/privacy}","received_events_url":"https://api.github.com/users/serundeputy/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T14:26:51Z","updated_at":"2015-07-24T14:26:51Z","body":"`system_date_format_load($type)['pattern'];` use of this is php 5.4 or greater.\r\ntravis is using php 5.3 ; so you'll have to refactor this to use a temporary variable.\r\nhttp://php.net/manual/en/language.types.array.php#example-102\r\n\r\nhope that helps.\r\n~Geoff"}}