{"action":"created","issue":{"url":"https://api.github.com/repos/smalot/bootstrap-datetimepicker/issues/560","repository_url":"https://api.github.com/repos/smalot/bootstrap-datetimepicker","labels_url":"https://api.github.com/repos/smalot/bootstrap-datetimepicker/issues/560/labels{/name}","comments_url":"https://api.github.com/repos/smalot/bootstrap-datetimepicker/issues/560/comments","events_url":"https://api.github.com/repos/smalot/bootstrap-datetimepicker/issues/560/events","html_url":"https://github.com/smalot/bootstrap-datetimepicker/issues/560","id":172961715,"number":560,"title":"Get the Day Number","user":{"login":"AndrewPaget","id":8135582,"avatar_url":"https://avatars.githubusercontent.com/u/8135582?v=3","gravatar_id":"","url":"https://api.github.com/users/AndrewPaget","html_url":"https://github.com/AndrewPaget","followers_url":"https://api.github.com/users/AndrewPaget/followers","following_url":"https://api.github.com/users/AndrewPaget/following{/other_user}","gists_url":"https://api.github.com/users/AndrewPaget/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewPaget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewPaget/subscriptions","organizations_url":"https://api.github.com/users/AndrewPaget/orgs","repos_url":"https://api.github.com/users/AndrewPaget/repos","events_url":"https://api.github.com/users/AndrewPaget/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewPaget/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-24T14:07:53Z","updated_at":"2016-12-10T17:33:04Z","closed_at":null,"body":"The options require a weekStart being set -  value 0 or 1 (Sunday / Monday).\n\nIs there a method for obtaining the Day Number clicked in the picker. So, for example, if I clicked Monday, it would return 1 or Tuesday it would return 2 etc.\n\nMaybe it requires some custom code? Any one an idea?\n\nMaybe it could be a feature added?\n"},"comment":{"url":"https://api.github.com/repos/smalot/bootstrap-datetimepicker/issues/comments/266224773","html_url":"https://github.com/smalot/bootstrap-datetimepicker/issues/560#issuecomment-266224773","issue_url":"https://api.github.com/repos/smalot/bootstrap-datetimepicker/issues/560","id":266224773,"user":{"login":"davidpatters0n","id":870447,"avatar_url":"https://avatars.githubusercontent.com/u/870447?v=3","gravatar_id":"","url":"https://api.github.com/users/davidpatters0n","html_url":"https://github.com/davidpatters0n","followers_url":"https://api.github.com/users/davidpatters0n/followers","following_url":"https://api.github.com/users/davidpatters0n/following{/other_user}","gists_url":"https://api.github.com/users/davidpatters0n/gists{/gist_id}","starred_url":"https://api.github.com/users/davidpatters0n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidpatters0n/subscriptions","organizations_url":"https://api.github.com/users/davidpatters0n/orgs","repos_url":"https://api.github.com/users/davidpatters0n/repos","events_url":"https://api.github.com/users/davidpatters0n/events{/privacy}","received_events_url":"https://api.github.com/users/davidpatters0n/received_events","type":"User","site_admin":false},"created_at":"2016-12-10T17:33:04Z","updated_at":"2016-12-10T17:33:04Z","body":"@AndrewPaget - I believe you can get the day number by calling `getDate().getDay()` as per this jsfiddle: https://jsfiddle.net/oLkotdk8/1/ if this works for you please close the issue. "}}
{"actor":{"display_login":"davidpatters0n"}}