Skip to content

Commit

Permalink
Temporary var_dump output to find out why Travis doesn't like the date.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Jan 21, 2015
1 parent 4727d6d commit 608b4f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Expand Up @@ -157,6 +157,7 @@ public function fromvEvent($vCal)
$this->timezone = $tz->getSyncTZFromOffsets(
$tz->getOffsetsFromDate(new Horde_Date($this->_vEvent->getAttribute('DTSTART')))
);
var_dump(new Horde_Date($this->_vEvent->getAttribute('DTSTART')));
} catch (Horde_Icalendar_Exception $e) {}
$this->alldayevent = (int)$this->_isAllDay();
}
Expand Down
4 changes: 3 additions & 1 deletion framework/Mapi/lib/Horde/Mapi/Timezone.php
Expand Up @@ -179,11 +179,13 @@ protected static function _getTransitions(DateTimeZone $timezone, Horde_Date $da
{

$std = $dst = array();
var_dump(mktime(0, 0, 0, 12, 1, $date->year - 1));
var_dump(mktime(24, 0, 0, 12, 31, $date->year));
$transitions = $timezone->getTransitions(
mktime(0, 0, 0, 12, 1, $date->year - 1),
mktime(24, 0, 0, 12, 31, $date->year)
);

var_dump($transitions);
foreach ($transitions as $i => $transition) {
try {
$d = new Horde_Date($transition['time']);
Expand Down

0 comments on commit 608b4f0

Please sign in to comment.