fix(podcast:soundbite): rename start time attribute to follow spec

This commit is contained in:
Yassine Doghri 2022-12-02 15:32:27 +00:00
parent 6e4045bb0d
commit 689831c26c
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ if (! function_exists('get_rss_feed')) {
foreach ($episode->soundbites as $soundbite) {
// TODO: differentiate video from soundbites?
$soundbiteElement = $item->addChild('soundbite', $soundbite->title, $podcastNamespace);
$soundbiteElement->addAttribute('start_time', (string) $soundbite->start_time);
$soundbiteElement->addAttribute('startTime', (string) $soundbite->start_time);
$soundbiteElement->addAttribute('duration', (string) round($soundbite->duration, 3));
}