{"action":"created","issue":{"url":"https://api.github.com/repos/tbabej/testmerge/issues/47","repository_url":"https://api.github.com/repos/tbabej/testmerge","labels_url":"https://api.github.com/repos/tbabej/testmerge/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/tbabej/testmerge/issues/47/comments","events_url":"https://api.github.com/repos/tbabej/testmerge/issues/47/events","html_url":"https://github.com/tbabej/testmerge/issues/47","id":294235855,"number":47,"title":"[TW-48] i18n: Weekend isn't always Sat/Sun","user":{"login":"tbabej","id":2123868,"avatar_url":"https://avatars2.githubusercontent.com/u/2123868?v=4","gravatar_id":"","url":"https://api.github.com/users/tbabej","html_url":"https://github.com/tbabej","followers_url":"https://api.github.com/users/tbabej/followers","following_url":"https://api.github.com/users/tbabej/following{/other_user}","gists_url":"https://api.github.com/users/tbabej/gists{/gist_id}","starred_url":"https://api.github.com/users/tbabej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbabej/subscriptions","organizations_url":"https://api.github.com/users/tbabej/orgs","repos_url":"https://api.github.com/users/tbabej/repos","events_url":"https://api.github.com/users/tbabej/events{/privacy}","received_events_url":"https://api.github.com/users/tbabej/received_events","type":"User","site_admin":false},"labels":[{"id":826800156,"url":"https://api.github.com/repos/tbabej/testmerge/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/tbabej/testmerge/milestones/25","html_url":"https://github.com/tbabej/testmerge/milestone/25","labels_url":"https://api.github.com/repos/tbabej/testmerge/milestones/25/labels","id":3087565,"number":25,"title":"2.6.0","description":null,"creator":{"login":"tbabej","id":2123868,"avatar_url":"https://avatars2.githubusercontent.com/u/2123868?v=4","gravatar_id":"","url":"https://api.github.com/users/tbabej","html_url":"https://github.com/tbabej","followers_url":"https://api.github.com/users/tbabej/followers","following_url":"https://api.github.com/users/tbabej/following{/other_user}","gists_url":"https://api.github.com/users/tbabej/gists{/gist_id}","starred_url":"https://api.github.com/users/tbabej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbabej/subscriptions","organizations_url":"https://api.github.com/users/tbabej/orgs","repos_url":"https://api.github.com/users/tbabej/repos","events_url":"https://api.github.com/users/tbabej/events{/privacy}","received_events_url":"https://api.github.com/users/tbabej/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":1,"state":"open","created_at":"2018-02-04T20:29:44Z","updated_at":"2018-02-04T22:10:10Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2018-02-04T22:10:10Z","updated_at":"2018-02-04T22:11:58Z","closed_at":null,"author_association":"OWNER","body":"_Benjamin Podszun says:_ \n\n See subject: For a task management tool that shows beautiful reports I'd hope to have it recognize my weekend correctly.\n\nWhy? I'm an expat in Israel, I work Sunday to Thursday. There are other potential options [1], so I think this hardcoded behavior should go away.\nPlease add a configuration value.\n\nI tracked the problem down (at least where I most prominently see it) in the code for the calendar report:\n\nreport.cpp, renderMonth(), line 1270ff:\n\n```\n// colorize weekends\nif (dow == 0 || dow == 6)\n  cellColor.blend (color_weekend);\n```\n\nPlease don't do that. Ask a locale aware library for the days that represents the beginning of the weekend (in which case I'd hunt down the required configuration elsewhere) or offer a setting equivalent to 'starting day of week' that allows me to define my work week.\n\n1: https://en.wikipedia.org/wiki/Weekend"},"comment":{"url":"https://api.github.com/repos/tbabej/testmerge/issues/comments/362944453","html_url":"https://github.com/tbabej/testmerge/issues/47#issuecomment-362944453","issue_url":"https://api.github.com/repos/tbabej/testmerge/issues/47","id":362944453,"user":{"login":"tbabej","id":2123868,"avatar_url":"https://avatars2.githubusercontent.com/u/2123868?v=4","gravatar_id":"","url":"https://api.github.com/users/tbabej","html_url":"https://github.com/tbabej","followers_url":"https://api.github.com/users/tbabej/followers","following_url":"https://api.github.com/users/tbabej/following{/other_user}","gists_url":"https://api.github.com/users/tbabej/gists{/gist_id}","starred_url":"https://api.github.com/users/tbabej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbabej/subscriptions","organizations_url":"https://api.github.com/users/tbabej/orgs","repos_url":"https://api.github.com/users/tbabej/repos","events_url":"https://api.github.com/users/tbabej/events{/privacy}","received_events_url":"https://api.github.com/users/tbabej/received_events","type":"User","site_admin":false},"created_at":"2018-02-04T22:11:58Z","updated_at":"2018-02-04T22:11:58Z","author_association":"OWNER","body":"_Paul Beckingham says:_ \n\n I think we need to default to Saturday/Sunday representing a work week, but allow complete override to that.  For example, a workweek could be defined as:\n\n```\nworkweek=1,2,4,5,6\n```\n\nThis would represent Monday, Tuesday, Thursday, Friday and Saturday as an example retail work week."}}
{"actor":{"display_login":"tbabej"}}