6.0.0-beta6
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/10/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#9989] mothersday at wrong date in calender
*
Your Email Address
*
Spam protection
Enter the letters below:
.___.. ..__ . .\ / _/ |\ |[__)|__| >< ./__.| \|| \| |/ \
Comment
> today i did some more debugging because fathersday is also at the > wrong date 3.6.2011 instead of 2.6.2011. > > i noticed that it has something to do with the timezone that is > configured in php.ini "date.timezone = Europe/Berlin" and timezone > set in linux /etc/localtime points also to Europe/Berlin > > fathersday for example is stored in a Date object with the following values: > year = 2011 > month = 06 > day = 02 > hour = 0 > minute = 0 > second = 0 > partsecond = 0 > on_standardyear = 2011 > on_standardmonth = 06 > on_standardday = 02 > on_standardhour = 23 > on_standardminute = 0 > on_standardsecond = 0 > on_standardpartsecond = 0 > tz = Europe/Berlin > > the interesting thing is that when i call $dhEvent->_date->getDate(4) > the result is 20110602000000 > when i call $dhEvent->_date->getDate(5) the result is 1307052000 > which is 20110603000000 > > my suggestion is not to call getTime() here "new > Horde_Date($dhEvent->_date->getTime());" but i haven't a idea what to > call
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