{"action":"created","issue":{"url":"https://api.github.com/repos/moonstonemedia/WP-Google-Calendar-Events/issues/45","labels_url":"https://api.github.com/repos/moonstonemedia/WP-Google-Calendar-Events/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/moonstonemedia/WP-Google-Calendar-Events/issues/45/comments","events_url":"https://api.github.com/repos/moonstonemedia/WP-Google-Calendar-Events/issues/45/events","html_url":"https://github.com/moonstonemedia/WP-Google-Calendar-Events/issues/45","id":98694552,"number":45,"title":"distinguish the weekend days","user":{"login":"gtrullem","id":873270,"avatar_url":"https://avatars.githubusercontent.com/u/873270?v=3","gravatar_id":"","url":"https://api.github.com/users/gtrullem","html_url":"https://github.com/gtrullem","followers_url":"https://api.github.com/users/gtrullem/followers","following_url":"https://api.github.com/users/gtrullem/following{/other_user}","gists_url":"https://api.github.com/users/gtrullem/gists{/gist_id}","starred_url":"https://api.github.com/users/gtrullem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gtrullem/subscriptions","organizations_url":"https://api.github.com/users/gtrullem/orgs","repos_url":"https://api.github.com/users/gtrullem/repos","events_url":"https://api.github.com/users/gtrullem/events{/privacy}","received_events_url":"https://api.github.com/users/gtrullem/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-03T08:14:59Z","updated_at":"2015-08-05T13:47:05Z","closed_at":"2015-08-03T09:24:36Z","body":"I'm using your plugin for me wordpress blog but for my needs I had to identifiate with color the saturday and the sunday. I didn't find the option so I have modifiated the php code of 'php-calendar.php' file.\r\n\r\nHere is my modification, at line 102 and 103 :\r\n\r\n```php\r\n }else{\r\n      $css_class = ( $timestamp < $time_now ) ? 'gce-day-past' : 'gce-day-future';\r\n      $css_class .= ( $weekday == 5 ) ? ' saturday' : '';\r\n      $css_class .= ( $weekday == 6 ) ? ' sunday' : '';\r\n      $calendar .= '' . esc_html( $day ) . '';\r\n }\r\n```\r\n\r\nLike this, I can define a 'background-color' in my custom CSS file to immediately identifiate the saturday and sunday.\r\n\r\nMay be it can help someone else or give you an idea to improve your plugin (or, may be, you gonna explain me how to use your plugin to identifiate some specific day without modification).\r\n\r\nThanks a lot for your work ! Great job !!! Thanks you !\r\n\r\nP.S. : in 'php-calendar.php', it seems to me that the lines 55 & 57 are identically the same. Idem for the lines 61 & 63... If it's true, I didn't understand why use it in the 'if' AND the 'else' scope.\r\n\r\nP.P.S. : sorry for my bad English."},"comment":{"url":"https://api.github.com/repos/moonstonemedia/WP-Google-Calendar-Events/issues/comments/128001473","html_url":"https://github.com/moonstonemedia/WP-Google-Calendar-Events/issues/45#issuecomment-128001473","issue_url":"https://api.github.com/repos/moonstonemedia/WP-Google-Calendar-Events/issues/45","id":128001473,"user":{"login":"gtrullem","id":873270,"avatar_url":"https://avatars.githubusercontent.com/u/873270?v=3","gravatar_id":"","url":"https://api.github.com/users/gtrullem","html_url":"https://github.com/gtrullem","followers_url":"https://api.github.com/users/gtrullem/followers","following_url":"https://api.github.com/users/gtrullem/following{/other_user}","gists_url":"https://api.github.com/users/gtrullem/gists{/gist_id}","starred_url":"https://api.github.com/users/gtrullem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gtrullem/subscriptions","organizations_url":"https://api.github.com/users/gtrullem/orgs","repos_url":"https://api.github.com/users/gtrullem/repos","events_url":"https://api.github.com/users/gtrullem/events{/privacy}","received_events_url":"https://api.github.com/users/gtrullem/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T13:47:05Z","updated_at":"2015-08-05T13:47:05Z","body":"Thanks @nekojira,\r\n\r\nYou said :\" In future I think I would like to have a human readable count from 1 to 7\". Here is my humble contribution (without consideration of culture) : \r\n\r\n`\r\n$css_class .= ' gce-week-day-' . strval( $weekday+1 ) . ' ';\r\n`\r\n\r\nThank you !"}}