6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/25/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#10194] Kronolith does not sync calendar, contacts work with Android 2.2.1/Motorola Milestone mobile
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..__ . ..__..__ |_/ [__)| || |[__) | \[__)|__||__\|
Comment
> Reopening during the time I am trying to track this down to something > that can be either submitted to PHP as a bug report, or something in > Horde_Date that can get fixed. After some irc debugging with a user > who is experiencing this issue, we have come to the following: > > The following *does* experience the issue on a debian lenny server: > > $d = new Horde_Date('2011-07-08 15:00:00', 'Europe/Zurich'); > $tz = $d->toDateTime()->getTimezone(); > var_dump($tz); > var_dump($tz->getName()); > var_dump($tz->getTransitions()); > echo 'foobar'; > > The code dies at the $tz->getTransitions() line. In this case, the > getName() call just returned an empty string. > > If we break out the lower level code from Horde_Date that is actually > being executed: > > $date = new DateTime(null, new DateTimeZone('Europe/Zurich')); > $date->setDate(2011, 07, 08); > $date->setTime(15, 0, 0); > $tz = $date->getTimezone(); > var_dump($tz); > var_dump($tz->getName()); > var_dump($tz->getTransitions()); > echo 'foobar'; > > *this* code runs without issue. This is the exact same code that is > executed, with (supposedly) the same values, as is run by using > Horde_Date. Something in Horde_Date is causing things to get mucked > up. > > Both scripts execute fine on a number of local servers, as well as > the reporter's Debian Squeeze server
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers