{"action":"closed","issue":{"url":"https://api.github.com/repos/sleeping-owl/admin/issues/24","labels_url":"https://api.github.com/repos/sleeping-owl/admin/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/sleeping-owl/admin/issues/24/comments","events_url":"https://api.github.com/repos/sleeping-owl/admin/issues/24/events","html_url":"https://github.com/sleeping-owl/admin/issues/24","id":55925604,"number":24,"title":"How to getTimeStamps?","user":{"login":"vektrom","id":1031155,"avatar_url":"https://avatars.githubusercontent.com/u/1031155?v=3","gravatar_id":"","url":"https://api.github.com/users/vektrom","html_url":"https://github.com/vektrom","followers_url":"https://api.github.com/users/vektrom/followers","following_url":"https://api.github.com/users/vektrom/following{/other_user}","gists_url":"https://api.github.com/users/vektrom/gists{/gist_id}","starred_url":"https://api.github.com/users/vektrom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vektrom/subscriptions","organizations_url":"https://api.github.com/users/vektrom/orgs","repos_url":"https://api.github.com/users/vektrom/repos","events_url":"https://api.github.com/users/vektrom/events{/privacy}","received_events_url":"https://api.github.com/users/vektrom/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-29T16:55:40Z","updated_at":"2015-01-30T14:51:52Z","closed_at":"2015-01-30T14:51:52Z","body":"Hello, \r\n\r\nI created the \"getTimeStamps\" class in the model, but when editing from SleepingOwl the date and time are not inserted.\r\n\r\nI used this line of code (app/admin/usuari.php).\r\n```PHP\r\nFormItem::timestamp('fecha_inscripcion', 'Data inscripció');\r\n```\r\n\r\nAnd this is my code from the model (app/models/Usuari.php).\r\n```PHP\r\npublic function getTimeStamps() {    \r\n    return array_merge(parent::getTimeStamps(), ['fecha_inscripcion']);\r\n }\r\n```\r\n\r\nIf I use the function getDates it only update the Time but not the Date:\r\n```PHP\r\npublic function getDates() {    \r\n    return array_merge(parent::getDates(), ['data_naixement','fecha_inscripcion']);\r\n}\r\n```\r\nWhat can I do to make it work?\r\n\r\nThank You."}}