{"action":"created","issue":{"url":"https://api.github.com/repos/rilwis/meta-box/issues/957","repository_url":"https://api.github.com/repos/rilwis/meta-box","labels_url":"https://api.github.com/repos/rilwis/meta-box/issues/957/labels{/name}","comments_url":"https://api.github.com/repos/rilwis/meta-box/issues/957/comments","events_url":"https://api.github.com/repos/rilwis/meta-box/issues/957/events","html_url":"https://github.com/rilwis/meta-box/issues/957","id":175942377,"number":957,"title":"Date and time fields not properly saved","user":{"login":"Jordi-m","id":4034848,"avatar_url":"https://avatars.githubusercontent.com/u/4034848?v=3","gravatar_id":"","url":"https://api.github.com/users/Jordi-m","html_url":"https://github.com/Jordi-m","followers_url":"https://api.github.com/users/Jordi-m/followers","following_url":"https://api.github.com/users/Jordi-m/following{/other_user}","gists_url":"https://api.github.com/users/Jordi-m/gists{/gist_id}","starred_url":"https://api.github.com/users/Jordi-m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jordi-m/subscriptions","organizations_url":"https://api.github.com/users/Jordi-m/orgs","repos_url":"https://api.github.com/users/Jordi-m/repos","events_url":"https://api.github.com/users/Jordi-m/events{/privacy}","received_events_url":"https://api.github.com/users/Jordi-m/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-09-09T07:07:21Z","updated_at":"2016-09-17T11:55:36Z","closed_at":null,"body":"Hi,\r\n\r\nAfter the latest update (installed yesterday evening) I'm experiencing issues with the 'date' and 'time' field. I have the following 'date' field defined:\r\n\r\n\t\tarray(\r\n\t\t\t'name'\t\t=> 'Event date',\r\n\t\t\t'id'\t\t=> \"event_date\",\r\n\t\t\t'type'\t\t=> 'date',\r\n\t\t\t'js_options' => array('dateFormat' => 'dd/mm/y', 'showButtonPanel' => true),\r\n\t\t\t'std'\t\t=> date('d/m/y'),\r\n\t\t\t'desc'\t\t=> 'Format: day/month/year (dd/mm/yy)',\r\n\t\t)\r\n\r\nWhen I press 'Save draft' or 'Publish' the post, the value is not fully saved, only the first numer of the date string is stored in the database. This also applies to the 'time' field.\r\n\r\nExample: When I selected '09/09/16' via the date picker plugin, after saving the page, I only see '0'. Directly reading out the value from the database also only returns the '0'.\r\n\r\nAs far as I could see the options did not change in the online docs (http://metabox.io/docs/define-fields/#section-date)? Also the js_options should be unchanged.\r\n\r\nDid I miss something (new) or is this a plugin bug? Thanks in advance."},"comment":{"url":"https://api.github.com/repos/rilwis/meta-box/issues/comments/247765437","html_url":"https://github.com/rilwis/meta-box/issues/957#issuecomment-247765437","issue_url":"https://api.github.com/repos/rilwis/meta-box/issues/957","id":247765437,"user":{"login":"funkedgeek","id":1159774,"avatar_url":"https://avatars.githubusercontent.com/u/1159774?v=3","gravatar_id":"","url":"https://api.github.com/users/funkedgeek","html_url":"https://github.com/funkedgeek","followers_url":"https://api.github.com/users/funkedgeek/followers","following_url":"https://api.github.com/users/funkedgeek/following{/other_user}","gists_url":"https://api.github.com/users/funkedgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/funkedgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/funkedgeek/subscriptions","organizations_url":"https://api.github.com/users/funkedgeek/orgs","repos_url":"https://api.github.com/users/funkedgeek/repos","events_url":"https://api.github.com/users/funkedgeek/events{/privacy}","received_events_url":"https://api.github.com/users/funkedgeek/received_events","type":"User","site_admin":false},"created_at":"2016-09-17T11:55:36Z","updated_at":"2016-09-17T11:55:36Z","body":"Are you using any iof our other plugins at all?\r\n"}}
{"actor":{"display_login":"funkedgeek"}}