X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/40fa570f0ce4fc6b518ab7b6d71fde5bf249cd56..a1e6270a8b7a85e0363807f2424ea99ce48043ff:/Entity/Dance.php?ds=inline

diff --git a/Entity/Dance.php b/Entity/Dance.php
index fa07ba9..e3779da 100644
--- a/Entity/Dance.php
+++ b/Entity/Dance.php
@@ -52,6 +52,9 @@ class Dance {
 	 * Constructor
 	 */
 	public function __construct() {
+		//Set defaults
+		$this->created = new \DateTime('now');
+		$this->updated = new \DateTime('now');
 		$this->applications = new ArrayCollection();
 		$this->users = new ArrayCollection();
 	}