{"action":"created","issue":{"url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/1168","labels_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/1168/labels{/name}","comments_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/1168/comments","events_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/1168/events","html_url":"https://github.com/Eonasdan/bootstrap-datetimepicker/issues/1168","id":93722686,"number":1168,"title":"FR: Separate store and display formats support.","user":{"login":"afanasy","id":677646,"avatar_url":"https://avatars.githubusercontent.com/u/677646?v=3","gravatar_id":"","url":"https://api.github.com/users/afanasy","html_url":"https://github.com/afanasy","followers_url":"https://api.github.com/users/afanasy/followers","following_url":"https://api.github.com/users/afanasy/following{/other_user}","gists_url":"https://api.github.com/users/afanasy/gists{/gist_id}","starred_url":"https://api.github.com/users/afanasy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afanasy/subscriptions","organizations_url":"https://api.github.com/users/afanasy/orgs","repos_url":"https://api.github.com/users/afanasy/repos","events_url":"https://api.github.com/users/afanasy/events{/privacy}","received_events_url":"https://api.github.com/users/afanasy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/labels/wontfix","name":"wontfix","color":"000000"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-07-08T07:51:17Z","updated_at":"2015-08-26T20:50:02Z","closed_at":"2015-07-15T00:37:01Z","body":"Hi,\r\n\r\nWould be great to have an option to store date in one format (my db format YYYY-MM-DD, mysql) but display the picker to the user in the local format 'M/D/YY' (US). And when he changes the date I want input.val() become YYYY-MM-DD again (so I can save it to the db).\r\n\r\nThanks for the great lib!\r\n"},"comment":{"url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/comments/135166763","html_url":"https://github.com/Eonasdan/bootstrap-datetimepicker/issues/1168#issuecomment-135166763","issue_url":"https://api.github.com/repos/Eonasdan/bootstrap-datetimepicker/issues/1168","id":135166763,"user":{"login":"MatTheCat","id":1898254,"avatar_url":"https://avatars.githubusercontent.com/u/1898254?v=3","gravatar_id":"","url":"https://api.github.com/users/MatTheCat","html_url":"https://github.com/MatTheCat","followers_url":"https://api.github.com/users/MatTheCat/followers","following_url":"https://api.github.com/users/MatTheCat/following{/other_user}","gists_url":"https://api.github.com/users/MatTheCat/gists{/gist_id}","starred_url":"https://api.github.com/users/MatTheCat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatTheCat/subscriptions","organizations_url":"https://api.github.com/users/MatTheCat/orgs","repos_url":"https://api.github.com/users/MatTheCat/repos","events_url":"https://api.github.com/users/MatTheCat/events{/privacy}","received_events_url":"https://api.github.com/users/MatTheCat/received_events","type":"User","site_admin":false},"created_at":"2015-08-26T20:50:02Z","updated_at":"2015-08-26T20:50:02Z","body":"> You don't need to listen to the form submit event; see jQueryUI altField and altFormat. Could this be implemented?"}}