mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
fix-models-attributeDatetime-object-example
Signed-off-by: Rinku Hasija <rishabhasija5454@gmail.com>
This commit is contained in:
parent
ca186543ca
commit
f5c7568287
1 changed files with 2 additions and 2 deletions
|
|
@ -18,10 +18,10 @@ class AttributeDatetime extends Attribute
|
||||||
'example' => 'birthDay',
|
'example' => 'birthDay',
|
||||||
])
|
])
|
||||||
->addRule('type', [
|
->addRule('type', [
|
||||||
'type' => self::TYPE_DATETIME,
|
'type' => self::TYPE_STRING,
|
||||||
'description' => 'Attribute type.',
|
'description' => 'Attribute type.',
|
||||||
'default' => '',
|
'default' => '',
|
||||||
'example' => self::TYPE_DATETIME_EXAMPLE,
|
'example' => self::TYPE_DATETIME,
|
||||||
])
|
])
|
||||||
->addRule('format', [
|
->addRule('format', [
|
||||||
'type' => self::TYPE_DATETIME,
|
'type' => self::TYPE_DATETIME,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue