Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@googlemail.com>2014-05-05 07:45:07 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-05-05 07:45:07 +0400
commiteb77470514de598c3015bc33d2c6fc340510e640 (patch)
treef9ceb134cd9f216b74a0872af9811c499179c676 /plugins/Annotations
parente65caaedb3fe4d4943931230c4da780a2cf6795f (diff)
fixes #4741 also support date=today for update method
Diffstat (limited to 'plugins/Annotations')
-rwxr-xr-xplugins/Annotations/AnnotationList.php2
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;