iCal Timezone

Permalink Browser Info Environment
Unfortunately we now can't access support requests and resolutions past 30 days, so I can't see how the previous "iCal Timezone" request was responded to.

I'm have an issue where the iCal link downloads a .ics file where all of the times are 6 hours ahead of what they should be. They show fine in the calendar block, they're just all 6 hours ahead in the iCal .ics download.

I've got the calendar set up to show and event page type rather than a calendar item, so I'm using the Item Calendar starting Date/Time and Item Calendar Ending Date/Time attributes (which I believe are hidden page attributes?). Not sure if that makes a difference. My site is set to CST.

Type: Discussion
Status: In Progress
View Replies:
kspitzley replied on at Permalink Reply
Well, I ended up figuring this out myself. I went into the scottc_items_calendar\tools folder and created a custom ical.php file that removed the "Z" from the DTSTAMP, DTSTART, and DTEND lines (lines 33-35). The modified code looks like this:

DTSTAMP:<?php  echo date("Ymd\THi00", strtotime($i->start)).PHP_EOL; ?>
DTSTART:<?php  echo date("Ymd\THi00", strtotime($i->start)).PHP_EOL; ?>
DTEND:<?php  echo date("Ymd\THi00", strtotime($i->end)).PHP_EOL; ?>

I then loaded the new ical.php file into the root level tools folder so it would override the one in the package.

concrete5 Environment Information

# concrete5 Version

# concrete5 Packages
AddThis (1.0), Awkward Slider (1.0.4), Designer Content (3.1.1), Expand / Collapse (1.2.6), Guest Views (2.0), Image/File Search (2.06), Item Calendar (2.1.1), Lightboxed Image (0.9.2), List files from set (1.0.4), Locations (1.0.1), Login (1.1.1), Page List+ (, Page List Title (2.3), Print my page (1.0.3), Pro Forms (7.5.6), tnSpacer (1.3), Webli-Toolbar (1.2.2), Whale Nivo Image Slider (1.2).

# concrete5 Overrides
blocks/autonav, blocks/icon_page_link, blocks/quick_links_grey, blocks/page_list, blocks/date_nav, blocks/proforms_display, blocks/locations_list, blocks/login, blocks/sub_right_sidebar, blocks/test, blocks/icon_list, blocks/file_download, blocks/proforms_list, blocks/home_banner_list, blocks/gray_line, blocks/search, blocks/print_my_page, controllers/event_nav, helpers/slateimage.php, themes/rpbcwd, themes/rpbcwdtheme

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - Off
Full Page Caching - On - If blocks on the particular page allow it.
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software

# Server API

# PHP Version

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dba, dbase, dom, exif, filter, ftp, gd, gettext, gmp, hash, iconv, imagick, imap, json, ldap, libxml, mbstring, mcrypt, mhash, mime_magic, mysql, mysqli, ncurses, odbc, openssl, pcntl, pcre, PDO, pdo_dblib, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, readline, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, SQLite, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Optimizer, zip, zlib.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 50M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 50M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 200000
pcre.recursion_limit - 200000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.