{"action":"closed","issue":{"url":"https://api.github.com/repos/handsontable/handsontable/issues/2188","labels_url":"https://api.github.com/repos/handsontable/handsontable/issues/2188/labels{/name}","comments_url":"https://api.github.com/repos/handsontable/handsontable/issues/2188/comments","events_url":"https://api.github.com/repos/handsontable/handsontable/issues/2188/events","html_url":"https://github.com/handsontable/handsontable/issues/2188","id":58530102,"number":2188,"title":"Pikaday and custom date format","user":{"login":"ollietreend","id":7735945,"avatar_url":"https://avatars.githubusercontent.com/u/7735945?v=3","gravatar_id":"","url":"https://api.github.com/users/ollietreend","html_url":"https://github.com/ollietreend","followers_url":"https://api.github.com/users/ollietreend/followers","following_url":"https://api.github.com/users/ollietreend/following{/other_user}","gists_url":"https://api.github.com/users/ollietreend/gists{/gist_id}","starred_url":"https://api.github.com/users/ollietreend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ollietreend/subscriptions","organizations_url":"https://api.github.com/users/ollietreend/orgs","repos_url":"https://api.github.com/users/ollietreend/repos","events_url":"https://api.github.com/users/ollietreend/events{/privacy}","received_events_url":"https://api.github.com/users/ollietreend/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/handsontable/handsontable/labels/Bug","name":"Bug","color":"0052cc"},{"url":"https://api.github.com/repos/handsontable/handsontable/labels/Cell%20type:%20date","name":"Cell type: date","color":"009800"},{"url":"https://api.github.com/repos/handsontable/handsontable/labels/Guess:%20few%20hours","name":"Guess: few hours","color":"d4c5f9"},{"url":"https://api.github.com/repos/handsontable/handsontable/labels/Priority:%20normal","name":"Priority: normal","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"Berus","id":6708620,"avatar_url":"https://avatars.githubusercontent.com/u/6708620?v=3","gravatar_id":"","url":"https://api.github.com/users/Berus","html_url":"https://github.com/Berus","followers_url":"https://api.github.com/users/Berus/followers","following_url":"https://api.github.com/users/Berus/following{/other_user}","gists_url":"https://api.github.com/users/Berus/gists{/gist_id}","starred_url":"https://api.github.com/users/Berus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Berus/subscriptions","organizations_url":"https://api.github.com/users/Berus/orgs","repos_url":"https://api.github.com/users/Berus/repos","events_url":"https://api.github.com/users/Berus/events{/privacy}","received_events_url":"https://api.github.com/users/Berus/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/handsontable/handsontable/milestones/35","html_url":"https://github.com/handsontable/handsontable/milestones/0.12.7","labels_url":"https://api.github.com/repos/handsontable/handsontable/milestones/35/labels","id":965294,"number":35,"title":"0.12.7","description":"","creator":{"login":"krzysztofspilka","id":8048526,"avatar_url":"https://avatars.githubusercontent.com/u/8048526?v=3","gravatar_id":"","url":"https://api.github.com/users/krzysztofspilka","html_url":"https://github.com/krzysztofspilka","followers_url":"https://api.github.com/users/krzysztofspilka/followers","following_url":"https://api.github.com/users/krzysztofspilka/following{/other_user}","gists_url":"https://api.github.com/users/krzysztofspilka/gists{/gist_id}","starred_url":"https://api.github.com/users/krzysztofspilka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krzysztofspilka/subscriptions","organizations_url":"https://api.github.com/users/krzysztofspilka/orgs","repos_url":"https://api.github.com/users/krzysztofspilka/repos","events_url":"https://api.github.com/users/krzysztofspilka/events{/privacy}","received_events_url":"https://api.github.com/users/krzysztofspilka/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":6,"state":"open","created_at":"2015-02-04T11:38:31Z","updated_at":"2015-03-09T10:35:15Z","due_on":"2015-03-04T23:00:00Z","closed_at":null},"comments":4,"created_at":"2015-02-23T00:10:30Z","updated_at":"2015-03-09T10:35:15Z","closed_at":"2015-03-09T10:35:15Z","body":"Hi,\r\n\r\nI am using a custom date format (DD/MM/YYYY) on a date column.\r\n\r\nWhen I open the pikaday date picker, it interprets my dates as MM/DD/YYYY (default format) values, disregarding my custom date format. When choosing a date it reverts back to my custom format.\r\n\r\nWith dates in format DD/MM/YYYY, the date value \"01/02/2015\" should be represented as 1st February. However when you open the datepicker it loads it in as 2nd January.\r\n\r\n## Steps to reproduce\r\n\r\n1. Open this [example JSFiddle](http://jsfiddle.net/kdkszcyb/1/).\r\n2. Click a cell to open the date picker. Notice that it has interpreted \"01/02/2015\" as 2nd January (i.e. MM/DD/YYYY).\r\n3. Choose a new date. You can even pick the currently highlighted date.\r\n4. The new date will be set in DD/MM/YYYY format.\r\n\r\nThis happens every time the pikaday calendar is opened."}}