Browse Source

Merge pull request #377 from wheelsandcogs/patch-1

Timestamp type causes incorrect dates to be set
Gediminas Morkevicius 13 years ago
parent
commit
add6fe25a2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      doc/timestampable.md

+ 2 - 2
doc/timestampable.md

@@ -165,9 +165,9 @@ class Article
     private $title;
 
     /**
-     * @var timestamp $created
+     * @var date $created
      *
-     * @ODM\Timestamp
+     * @ODM\Date
      * @Gedmo\Timestampable(on="create")
      */
     private $created;