Branch 'roundcubemail-plugins-kolab-3.1' - 2 commits - plugins/libkolab

Thomas Brüderli bruederli at kolabsys.com
Mon Jan 27 10:06:26 CET 2014


 plugins/libkolab/lib/kolab_format_contact.php |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a88c0771628d413eb6eaaa10139163824cfd453a
Merge: 160e02e d7f14c5
Author: Thomas Bruederli <thomas at roundcube.net>
Date:   Mon Jan 27 10:05:18 2014 +0100

    Merge branch 'roundcubemail-plugins-kolab-3.1' of ssh://git.kolab.org/git/roundcubemail-plugins-kolab into roundcubemail-plugins-kolab-3.1



commit 160e02ee8bcbc06b0bced536de4a54ed36e982b3
Author: Thomas Bruederli <thomas at roundcube.net>
Date:   Mon Jan 27 10:05:05 2014 +0100

    Deliver date properties as DateTime objects (#2802)

diff --git a/plugins/libkolab/lib/kolab_format_contact.php b/plugins/libkolab/lib/kolab_format_contact.php
index b9b6de6..a96312a 100644
--- a/plugins/libkolab/lib/kolab_format_contact.php
+++ b/plugins/libkolab/lib/kolab_format_contact.php
@@ -348,10 +348,10 @@ class kolab_format_contact extends kolab_format
         $object['freebusyurl'] = $this->obj->freeBusyUrl();
 
         if ($bday = self::php_datetime($this->obj->bDay()))
-            $object['birthday'] = $bday->format('c');
+            $object['birthday'] = $bday;
 
         if ($anniversary = self::php_datetime($this->obj->anniversary()))
-            $object['anniversary'] = $anniversary->format('c');
+            $object['anniversary'] = $anniversary;
 
         $gendermap = array_flip($this->gendermap);
         if (($g = $this->obj->gender()) && $gendermap[$g])




More information about the commits mailing list