mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-01-27 00:33:34 +00:00
feed.php: fix adding $p_time to itself one too many times in our funky ? :
This commit is contained in:
parent
81eba961c8
commit
4b4b21ee45
@ -132,8 +132,8 @@ function caldav_get_feed( $request ) {
|
||||
if ( $dt_end != null ) {
|
||||
$dt_end = new RepeatRuleDateTime($dt_end);
|
||||
$p_time .= ' - ' . ( $dt_end->AsDate() == $dt_start->AsDate()
|
||||
? $p_time .= $dt_end->format(translate('H:i:s'))
|
||||
: $p_time .= $dt_end->format(translate('Y-m-d H:i:s'))
|
||||
? $dt_end->format(translate('H:i:s'))
|
||||
: $dt_end->format(translate('Y-m-d H:i:s'))
|
||||
);
|
||||
}
|
||||
$content .= $p_time;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user