{"action":"opened","issue":{"url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/2219","repository_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker","labels_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/2219/labels{/name}","comments_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/2219/comments","events_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/2219/events","html_url":"https://github.com/Eonasdan/bootstrap-datetimepicker/issues/2219","id":294313389,"number":2219,"title":"Not able to use time picker when minDate and maxDate are set on the same day but hours differs","user":{"login":"jonperron","id":18113590,"avatar_url":"https://avatars3.githubusercontent.com/u/18113590?v=4","gravatar_id":"","url":"https://api.github.com/users/jonperron","html_url":"https://github.com/jonperron","followers_url":"https://api.github.com/users/jonperron/followers","following_url":"https://api.github.com/users/jonperron/following{/other_user}","gists_url":"https://api.github.com/users/jonperron/gists{/gist_id}","starred_url":"https://api.github.com/users/jonperron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonperron/subscriptions","organizations_url":"https://api.github.com/users/jonperron/orgs","repos_url":"https://api.github.com/users/jonperron/repos","events_url":"https://api.github.com/users/jonperron/events{/privacy}","received_events_url":"https://api.github.com/users/jonperron/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-05T08:48:19Z","updated_at":"2018-02-05T08:48:19Z","closed_at":null,"author_association":"NONE","body":"Hello everyone,\r\n\r\nI got an odd behaviour when using bootstrap-datetimepicker v. 4.17.47, similar to https://github.com/Eonasdan/bootstrap-datetimepicker/issues/1789.\r\nHere is my config:\r\n```\r\n            format: 'YYYY-MM-DD HH:mm',\r\n            showTodayButton: true,\r\n            useCurrent: false,\r\n            showClear: true,\r\n            minDate: moment('{{ ts_beg }}'),\r\n            maxDate: moment('{{ ts_end }}')\r\n```\r\nWhen setting minDate and maxDate to the same day but with different hours, let's say 2018-2-1 00:00 and 2018-2-1 02:00, I am unable to choose both date and time:\r\n![peek 2018-02-05 09-33](https://user-images.githubusercontent.com/18113590/35794888-aaf3dbf8-0a57-11e8-9fa8-94ed7d0e1440.gif)\r\nDoes anyone has a workaround to solve this issue ?\r\n"}}
{"actor":{"display_login":"jonperron"}}