mirror of
https://github.com/friendica/friendica
synced 2025-04-26 21:50:11 +00:00
basic saving of events
This commit is contained in:
parent
fcb4316c29
commit
c1b2e90e37
2 changed files with 42 additions and 11 deletions
|
@ -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">'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue