{"action":"created","issue":{"url":"https://api.github.com/repos/SemanticMediaWiki/SemanticResultFormats/issues/138","repository_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticResultFormats","labels_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticResultFormats/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticResultFormats/issues/138/comments","events_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticResultFormats/issues/138/events","html_url":"https://github.com/SemanticMediaWiki/SemanticResultFormats/issues/138","id":124589634,"number":138,"title":"Calendar format / Parameter `$srfgFirstDayOfWeek` broken","user":{"login":"kghbln","id":1104078,"avatar_url":"https://avatars.githubusercontent.com/u/1104078?v=3","gravatar_id":"","url":"https://api.github.com/users/kghbln","html_url":"https://github.com/kghbln","followers_url":"https://api.github.com/users/kghbln/followers","following_url":"https://api.github.com/users/kghbln/following{/other_user}","gists_url":"https://api.github.com/users/kghbln/gists{/gist_id}","starred_url":"https://api.github.com/users/kghbln/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kghbln/subscriptions","organizations_url":"https://api.github.com/users/kghbln/orgs","repos_url":"https://api.github.com/users/kghbln/repos","events_url":"https://api.github.com/users/kghbln/events{/privacy}","received_events_url":"https://api.github.com/users/kghbln/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SemanticMediaWiki/SemanticResultFormats/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-01-02T12:54:41Z","updated_at":"2016-09-06T13:50:18Z","closed_at":"2016-09-06T13:50:18Z","body":"Though I am setting `$srfgFirstDayOfWeek = 'monday';` I am getting a [warning](https://github.com/SemanticMediaWiki/SemanticResultFormats/blob/6a38b2337f19c1963c1a1bc0af028c0da3a8cabd/formats/calendar/SRF_Calendar.php#L380) and it is obviously being [ignored as the example shows](https://www.semantic-mediawiki.org/wiki/Help:Calendar_format#Example). Perhaps this can be turned from a configuration parameter to a result parameter as it is done for the 'eventcalendar' format.\r\n\r\nCode starts at [this spot](https://github.com/SemanticMediaWiki/SemanticResultFormats/blob/6a38b2337f19c1963c1a1bc0af028c0da3a8cabd/formats/calendar/SRF_Calendar.php#L362)."},"comment":{"url":"https://api.github.com/repos/SemanticMediaWiki/SemanticResultFormats/issues/comments/244955929","html_url":"https://github.com/SemanticMediaWiki/SemanticResultFormats/issues/138#issuecomment-244955929","issue_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticResultFormats/issues/138","id":244955929,"user":{"login":"kghbln","id":1104078,"avatar_url":"https://avatars.githubusercontent.com/u/1104078?v=3","gravatar_id":"","url":"https://api.github.com/users/kghbln","html_url":"https://github.com/kghbln","followers_url":"https://api.github.com/users/kghbln/followers","following_url":"https://api.github.com/users/kghbln/following{/other_user}","gists_url":"https://api.github.com/users/kghbln/gists{/gist_id}","starred_url":"https://api.github.com/users/kghbln/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kghbln/subscriptions","organizations_url":"https://api.github.com/users/kghbln/orgs","repos_url":"https://api.github.com/users/kghbln/repos","events_url":"https://api.github.com/users/kghbln/events{/privacy}","received_events_url":"https://api.github.com/users/kghbln/received_events","type":"User","site_admin":false},"created_at":"2016-09-06T13:50:18Z","updated_at":"2016-09-06T13:50:18Z","body":"I will try `$srfgFirstDayOfWeek = 'Monday';` instead of `$srfgFirstDayOfWeek = 'monday';`. It seems that weekday need to have a capital letter in any case. I will reopen in case this does not help."}}
{"actor":{"display_login":"kghbln"}}