{"action":"opened","issue":{"url":"https://api.github.com/repos/flatpickr/flatpickr/issues/1431","repository_url":"https://api.github.com/repos/flatpickr/flatpickr","labels_url":"https://api.github.com/repos/flatpickr/flatpickr/issues/1431/labels{/name}","comments_url":"https://api.github.com/repos/flatpickr/flatpickr/issues/1431/comments","events_url":"https://api.github.com/repos/flatpickr/flatpickr/issues/1431/events","html_url":"https://github.com/flatpickr/flatpickr/issues/1431","id":339266350,"node_id":"MDU6SXNzdWUzMzkyNjYzNTA=","number":1431,"title":"Cannot set new altFormat with fp.set()","user":{"login":"Techn1x","id":1049837,"node_id":"MDQ6VXNlcjEwNDk4Mzc=","avatar_url":"https://avatars1.githubusercontent.com/u/1049837?v=4","gravatar_id":"","url":"https://api.github.com/users/Techn1x","html_url":"https://github.com/Techn1x","followers_url":"https://api.github.com/users/Techn1x/followers","following_url":"https://api.github.com/users/Techn1x/following{/other_user}","gists_url":"https://api.github.com/users/Techn1x/gists{/gist_id}","starred_url":"https://api.github.com/users/Techn1x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Techn1x/subscriptions","organizations_url":"https://api.github.com/users/Techn1x/orgs","repos_url":"https://api.github.com/users/Techn1x/repos","events_url":"https://api.github.com/users/Techn1x/events{/privacy}","received_events_url":"https://api.github.com/users/Techn1x/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-08T23:07:41Z","updated_at":"2018-07-08T23:07:41Z","closed_at":null,"author_association":"NONE","body":"In my application I would like to be able to change the altFormat used, but unfortunately when I set it to the new value, the input does not update.\r\n```javascript\r\nfp.set('altFormat','Y');\r\n```\r\n\r\nhttps://jsfiddle.net/49g1r80d/\r\nClick the button in the jsfiddle, and what should happen is the altFormat change from \"j M\" to \"Y\" (so the input box should go from displaying \"Oct 13\" to \"2080\". But it doesn't.\r\n\r\n## Environment\r\n* flatpickr version used: 4.5.1\r\n* Browser name and version: Chrome 67.0.3396.99\r\n* OS and version: Win10\r\n"}}
{"actor":{"display_login":"Techn1x"}}