diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-05-05 07:45:07 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-05-05 07:45:07 +0400 |
commit | eb77470514de598c3015bc33d2c6fc340510e640 (patch) | |
tree | f9ceb134cd9f216b74a0872af9811c499179c676 /plugins/Annotations | |
parent | e65caaedb3fe4d4943931230c4da780a2cf6795f (diff) |
fixes #4741 also support date=today for update method
Diffstat (limited to 'plugins/Annotations')
-rwxr-xr-x | plugins/Annotations/AnnotationList.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Annotations/AnnotationList.php b/plugins/Annotations/AnnotationList.php index 91f7d5bf0e..ea75efa025 100755 --- a/plugins/Annotations/AnnotationList.php +++ b/plugins/Annotations/AnnotationList.php @@ -133,7 +133,7 @@ class AnnotationList $annotation =& $this->annotations[$idSite][$idNote]; if ($date !== null) { - $annotation['date'] = $date; + $annotation['date'] = Date::factory($date)->toString('Y-m-d'); } if ($note !== null) { $annotation['note'] = $note; |