[Tickets #12843] Re: Wrong timezone calculation with CalDAV

noreply at bugs.horde.org noreply at bugs.horde.org
Tue Feb 11 18:21:58 UTC 2014


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12843
------------------------------------------------------------------------------
  Ticket             | 12843
  Updated By         | Git Commit <commits at lists.horde.org>
  Summary            | Wrong timezone calculation with CalDAV
  Queue              | Kronolith
  Version            | 4.1.4
  Type               | Bug
  State              | Assigned
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Michael Rubinsky, Horde Developers
------------------------------------------------------------------------------


Git Commit <commits at lists.horde.org> (2014-02-11 18:21) wrote:

Changes have been made in Git (master):

commit 5eb27a0b1b12c99226ff819d4ce0f5c8e66e3c08
Author: Jan Schneider <jan at horde.org>
Date:   Tue Feb 11 18:13:04 2014 +0100

     Fix date calculation if providing both a timestamp and a timezone.

     We need to temporarily set the timezone to the one provided in  
the contructor,
     because the result of getdate() depends on the current default  
timezone. It's
     probably the only method in the whole world that does this.

     Bug: 12843

  framework/Date/lib/Horde/Date.php           |    7 +++++++
  framework/Date/package.xml                  |    2 ++
  framework/Date/test/Horde/Date/DateTest.php |   10 ++++++++++
  3 files changed, 19 insertions(+), 0 deletions(-)

http://git.horde.org/horde-git/-/commit/5eb27a0b1b12c99226ff819d4ce0f5c8e66e3c08





More information about the bugs mailing list