plugins/libkolab

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


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

New commits:
commit 0f57d5c8c8a751d2a806251c6eeed78186b70e1e
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