{"action":"created","issue":{"url":"https://api.github.com/repos/flatpickr/flatpickr/issues/1253","repository_url":"https://api.github.com/repos/flatpickr/flatpickr","labels_url":"https://api.github.com/repos/flatpickr/flatpickr/issues/1253/labels{/name}","comments_url":"https://api.github.com/repos/flatpickr/flatpickr/issues/1253/comments","events_url":"https://api.github.com/repos/flatpickr/flatpickr/issues/1253/events","html_url":"https://github.com/flatpickr/flatpickr/issues/1253","id":295929329,"number":1253,"title":"Lowercase h currently gives us 1 to 12 but I need 01 to 12","user":{"login":"tyera","id":17318020,"avatar_url":"https://avatars2.githubusercontent.com/u/17318020?v=4","gravatar_id":"","url":"https://api.github.com/users/tyera","html_url":"https://github.com/tyera","followers_url":"https://api.github.com/users/tyera/followers","following_url":"https://api.github.com/users/tyera/following{/other_user}","gists_url":"https://api.github.com/users/tyera/gists{/gist_id}","starred_url":"https://api.github.com/users/tyera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyera/subscriptions","organizations_url":"https://api.github.com/users/tyera/orgs","repos_url":"https://api.github.com/users/tyera/repos","events_url":"https://api.github.com/users/tyera/events{/privacy}","received_events_url":"https://api.github.com/users/tyera/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-09T16:28:17Z","updated_at":"2018-02-20T09:54:47Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nHow can we have two-digits hours from 01 to 12 in the input field?\r\n\r\nThe lowercase `h` won't do it, because it goes from 1 to 12, where 1 to 9 are single digit.\r\n\r\nI cannot use `H` either because my implementation requires AM/PM, so `time_24hr: false`.\r\n\r\nAlso, the value displayed in the time picker seems to always be two-digit, I just need the same in the input field, but no format seems to support this.\r\n\r\n[Here's the fidler I'm playing this.](https://jsfiddle.net/zo5xmg1z/1/)\r\n\r\nThanks :)"},"comment":{"url":"https://api.github.com/repos/flatpickr/flatpickr/issues/comments/366925344","html_url":"https://github.com/flatpickr/flatpickr/issues/1253#issuecomment-366925344","issue_url":"https://api.github.com/repos/flatpickr/flatpickr/issues/1253","id":366925344,"user":{"login":"tyera","id":17318020,"avatar_url":"https://avatars2.githubusercontent.com/u/17318020?v=4","gravatar_id":"","url":"https://api.github.com/users/tyera","html_url":"https://github.com/tyera","followers_url":"https://api.github.com/users/tyera/followers","following_url":"https://api.github.com/users/tyera/following{/other_user}","gists_url":"https://api.github.com/users/tyera/gists{/gist_id}","starred_url":"https://api.github.com/users/tyera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyera/subscriptions","organizations_url":"https://api.github.com/users/tyera/orgs","repos_url":"https://api.github.com/users/tyera/repos","events_url":"https://api.github.com/users/tyera/events{/privacy}","received_events_url":"https://api.github.com/users/tyera/received_events","type":"User","site_admin":false},"created_at":"2018-02-20T09:54:47Z","updated_at":"2018-02-20T09:54:47Z","author_association":"NONE","body":"Hi guys,\r\n\r\nI found the time token \"G\" that supports 1 to 12 hours with leading zeros! Oh boy was I surprised to see it works perfectly :)\r\n\r\n[Fidler here](https://jsfiddle.net/1dojdn19/1/)\r\n\r\nThis token is not in the documentation however, it would be nice to add it.\r\n\r\nThanks :)\r\n"}}
{"actor":{"display_login":"tyera"}}