{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"open","user":{"avatar_url":"https://secure.gravatar.com/avatar/8892b9a13e2207579b7d69da0e1d74ef?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"8892b9a13e2207579b7d69da0e1d74ef","url":"https://api.github.com/users/suncat2000","login":"suncat2000","id":1162437},"milestone":null,"labels":[],"assignee":null,"updated_at":"2011-10-31T16:26:52Z","closed_at":null,"comments":1,"url":"https://api.github.com/repos/cedriclombardot/AdmingeneratorGeneratorBundle/issues/36","body":"How to use db type timestamp for dates and times. I have an error in its use.\r\n\r\nTwig_Error_Runtime: An exception has been thrown during the rendering of a template (\"The dbType \"timestamp\" is not yet implemented\") in \"ListBuilderAction.php.twig\" at line 71.\r\n\r\nMy.orm.yml (datetime_create)\r\nAdmin\\MyBundle\\Entity\\Text:\r\n    type: entity\r\n    table: texsts\r\n    id:\r\n        id:\r\n            type: integer\r\n            generator: { strategy: AUTO }\r\n    fields:\r\n        is_published:\r\n            type: boolean\r\n        datetime_create:\r\n            type: timestamp\r\n....","html_url":"https://github.com/cedriclombardot/AdmingeneratorGeneratorBundle/issues/36","number":36,"title":"timestamp db type","id":2098594,"created_at":"2011-10-31T16:13:08Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/e33e3b0f5cd521f7f9e0ee1096c3d0ed?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"e33e3b0f5cd521f7f9e0ee1096c3d0ed","url":"https://api.github.com/users/cedriclombardot","login":"cedriclombardot","id":651484},"updated_at":"2011-10-31T16:26:51Z","url":"https://api.github.com/repos/cedriclombardot/AdmingeneratorGeneratorBundle/issues/comments/2579225","body":"Please set 4 ` to make a pre block your question would be easiest to read.\r\n\r\n`timestamp`seems not be a good type http://www.doctrine-project.org/docs/orm/2.0/en/reference/basic-mapping.html, you've to use datetime\r\n\r\n`datetime: Type that maps an SQL DATETIME/TIMESTAMP to a PHP DateTime object.`","id":2579225,"created_at":"2011-10-31T16:26:51Z"}}