6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
8/12/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#14018] Kronolith syncml duplicate event detection broken
*
Your Email Address
*
Spam protection
Enter the letters below:
. .. ..__.\ / __ |__|\ /[__] >< / ` | | \/ | |/ \\__.
Comment
>>> Also, the date object comparison is fine, as it is automagically cast >>> to string using Horde_Date::__toString(). >> >> I have tested it, and it didn't work for me. I have to use >> compareDateTime for it to work. > > Please provide a test case where this does not work. I can verify the > following tests work: > > <code> > $d1 = new Horde_Date('2015-06-20'); > $d2 = new Horde_Date('2015-06-20'); > var_dump($d1 == $d2); > </code> > > Results > bool(true) > > ========= > > <code> > $d1 = new Horde_Date('2015-06-20'); > $d2 = new Horde_Date('2014-06-20'); > var_dump($d1 == $d2); > </code> > > Results > bool(false) > > >> Sure it has to be cast to string in that comparison, when both are >> objects and none is a string? > > Yes. > >
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