diff options
author | Friendika <info@friendika.com> | 2011-06-06 22:27:38 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-06-06 22:27:38 -0700 |
commit | c1b2e90e3720961c280f6378e48fda7bad7c3ad0 (patch) | |
tree | 717ed873e30031dec2e7b4d136cdcdb648571cd0 /include/event.php | |
parent | fcb4316c2943d881eeb4d77bb6e3e51815bb59d6 (diff) | |
download | volse-hubzilla-c1b2e90e3720961c280f6378e48fda7bad7c3ad0.tar.gz volse-hubzilla-c1b2e90e3720961c280f6378e48fda7bad7c3ad0.tar.bz2 volse-hubzilla-c1b2e90e3720961c280f6378e48fda7bad7c3ad0.zip |
basic saving of events
Diffstat (limited to 'include/event.php')
-rw-r--r-- | include/event.php | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/include/event.php b/include/event.php index ecaa9213a..38ab83316 100644 --- a/include/event.php +++ b/include/event.php @@ -15,15 +15,19 @@ function format_event_html($ev) { $o .= '<p>' . t('Starts: ') . '<abbr class="dtstart" title="' . datetime_convert('UTC','UTC',$ev['start'], ATOM_TIME) . '" >' - . datetime_convert('UTC', date_default_timezone_get(), - $ev['start'] /*, format */ ) + . (($ev['adjust']) ? datetime_convert('UTC', date_default_timezone_get(), + $ev['start'] /*, format */ ) + : datetime_convert('UTC', 'UTC', + $ev['start'] /*, format */ )) . '</abbr></p>'; $o .= '<p>' . t('Ends: ') . '<abbr class="dtend" title="' . datetime_convert('UTC','UTC',$ev['finish'], ATOM_TIME) . '" >' - . datetime_convert('UTC', date_default_timezone_get(), - $ev['finish'] /*, format */ ) + . (($ev['adjust']) ? datetime_convert('UTC', date_default_timezone_get(), + $ev['finish'] /*, format */ ) + : datetime_convert('UTC', 'UTC', + $ev['finish'] /*, format */ )) . '</abbr></p>'; $o .= '<p> ' . t('Location:') . '<span class="location">' |