{"action":"created","issue":{"url":"https://api.github.com/repos/Pylons/deform/issues/248","labels_url":"https://api.github.com/repos/Pylons/deform/issues/248/labels{/name}","comments_url":"https://api.github.com/repos/Pylons/deform/issues/248/comments","events_url":"https://api.github.com/repos/Pylons/deform/issues/248/events","html_url":"https://github.com/Pylons/deform/pull/248","id":48183129,"number":248,"title":"Upgrade the embedded version of pickadate.js","user":{"login":"lmctv","id":1045050,"avatar_url":"https://avatars.githubusercontent.com/u/1045050?v=3","gravatar_id":"","url":"https://api.github.com/users/lmctv","html_url":"https://github.com/lmctv","followers_url":"https://api.github.com/users/lmctv/followers","following_url":"https://api.github.com/users/lmctv/following{/other_user}","gists_url":"https://api.github.com/users/lmctv/gists{/gist_id}","starred_url":"https://api.github.com/users/lmctv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmctv/subscriptions","organizations_url":"https://api.github.com/users/lmctv/orgs","repos_url":"https://api.github.com/users/lmctv/repos","events_url":"https://api.github.com/users/lmctv/events{/privacy}","received_events_url":"https://api.github.com/users/lmctv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-11-08T22:33:24Z","updated_at":"2015-05-05T14:37:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Pylons/deform/pulls/248","html_url":"https://github.com/Pylons/deform/pull/248","diff_url":"https://github.com/Pylons/deform/pull/248.diff","patch_url":"https://github.com/Pylons/deform/pull/248.patch"},"body":"In going from v3.2.2 to v3.5.4 we gain support for the \"hiddenName\" picker option; this way, we can instantiate the widget as in\r\n``` python\r\nw = deform.widget.DateInputWidget(options={\r\n                              'format': 'dd/mm/yyyy',\r\n                              'selectYears': 10,\r\n                              'selectMonths': True,\r\n                              'formatSubmit': 'yyyy-mm-dd',\r\n                              'hiddenName': True,\r\n                             }\r\n       )\r\n```\r\nThis way, the widget can push its contents with the correct name even if the submit format is different from the display format."},"comment":{"url":"https://api.github.com/repos/Pylons/deform/issues/comments/99098117","html_url":"https://github.com/Pylons/deform/pull/248#issuecomment-99098117","issue_url":"https://api.github.com/repos/Pylons/deform/issues/248","id":99098117,"user":{"login":"tisdall","id":4029388,"avatar_url":"https://avatars.githubusercontent.com/u/4029388?v=3","gravatar_id":"","url":"https://api.github.com/users/tisdall","html_url":"https://github.com/tisdall","followers_url":"https://api.github.com/users/tisdall/followers","following_url":"https://api.github.com/users/tisdall/following{/other_user}","gists_url":"https://api.github.com/users/tisdall/gists{/gist_id}","starred_url":"https://api.github.com/users/tisdall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tisdall/subscriptions","organizations_url":"https://api.github.com/users/tisdall/orgs","repos_url":"https://api.github.com/users/tisdall/repos","events_url":"https://api.github.com/users/tisdall/events{/privacy}","received_events_url":"https://api.github.com/users/tisdall/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T14:37:46Z","updated_at":"2015-05-05T14:37:46Z","body":"@lmctv We already have custom named date and time fields...  It's not totally straightforward, but the names aren't actually fixed.  What it does, is create a new named mapping for each datetime entry.  That mapping has a dynamic name.  The contents of the mapping is two fixed named fields named \"date\" and \"time\".  Despite the fixed names, `peppercorn` properly interprets the values back into their proper mappings so you can have multiple datetime fields on a page with no issue.\r\n\r\ndairiki added a PR to `deformdemo` to show you could use any name:  https://github.com/Pylons/deformdemo/pull/37"}}