Commit c7bcd9c8 authored by Robert Rollins's avatar Robert Rollins
Browse files

Initial commit for v2.10-dev.

parent 27bb828e
......@@ -11,7 +11,7 @@
* The version number of the current release. This is inserted into the PRODID
* value of the iCal feeds created by Date iCal.
*/
define('DATE_ICAL_VERSION', '2.9');
define('DATE_ICAL_VERSION', '2.10-dev');
/**
* Exception for when the date field for a row in the ical_fields row plugin is blank.
......
......@@ -221,8 +221,9 @@ class date_ical_plugin_row_ical_fields extends views_plugin_row {
// Set the display timezone to whichever tz is stored for this field.
// If there isn't a stored TZ, use the site default.
$timezone = isset($date_field['timezone']) ? $date_field['timezone'] : date_default_timezone(FALSE);
$start->setTimezone(new DateTimeZone($timezone));
$end->setTimezone(new DateTimeZone($timezone));
$dtz = new DateTimeZone($timezone);
$start->setTimezone($dtz);
$end->setTimezone($dtz);
$granularity = 'second';
if ($is_date_field) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment