mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 16:38:32 +00:00
Merge pull request #5285 from rinkuhasija/fix-5272-correct-documentation-model-attributeDatetime-Object-example
fix-models-attributeDatetime-object-example
This commit is contained in:
commit
713535bf79
1 changed files with 2 additions and 2 deletions
|
|
@ -18,10 +18,10 @@ class AttributeDatetime extends Attribute
|
|||
'example' => 'birthDay',
|
||||
])
|
||||
->addRule('type', [
|
||||
'type' => self::TYPE_DATETIME,
|
||||
'type' => self::TYPE_STRING,
|
||||
'description' => 'Attribute type.',
|
||||
'default' => '',
|
||||
'example' => self::TYPE_DATETIME_EXAMPLE,
|
||||
'example' => self::TYPE_DATETIME,
|
||||
])
|
||||
->addRule('format', [
|
||||
'type' => self::TYPE_DATETIME,
|
||||
|
|
|
|||
Loading…
Reference in a new issue