Scheduled Content shortcode returns wrong NextOccurrenceDateTime value #4741
Labels
Status: Confirmed
It's clear what the subject of the issue is about, and what the resolution should be.
Topic: CMS
Related to data and components primarily for the external website.
Topic: Lava
Related to the Lava templating language.
x-Fixed in v12.5
Milestone
Prerequisites
A Picture Is worth a Thousand Words
Description
When a recurring schedule is currently live, the Scheduled Content lava shortcode returns the wrong value for
NextOccurrenceDateTime
. Instead of returning the date and time of the start of the next occurrence, it returns the date and time of the end of the next occurrence instead.When the schedule is not live, the returned value contains the correct next start time.
Steps to Reproduce
scheduleid
value with the ID of your new schedule.Expected behavior:
If I'm understanding the shortcode's documentation correctly, when a schedule is live, the
NextOccurrenceDateTime
value should show the start time of the next occurrenceActual behavior:
The
NextOccurrenceDateTime
value shows the end time of the next occurrenceVersions
The text was updated successfully, but these errors were encountered: