- πΊπΈUnited States BenStallings
If the timezone is a null string, change it to a null value.
- π¨π¦Canada plousia
Is this formatter intended to allow sorting of a view by the next date instance? I couldn't figure out how to get it working, if so. Checking "force chronological" in the field configuration didn't seem to do anything. Any sorts applied still seem to be working on the first instance, rather than next upcoming.
- π¨π¦Canada mandclu
@plousia the force chronological setting will only yield a visible difference within the output of a single node, if you have multiple recurrence rules that overlap.
If you only want to show the next instance, you can configure the recur formatter to only 1 show upcoming instance and no past instances, and turn on the option to show the next instance separately. It will still output the recurring rule, but if you don't want that you can override the twig template.
- π¨π¦Canada plousia
Thanks, as it turned out my sorting issue was the aggregation setting on the date field filter. I was already outputting only the next instance in Twig.
- πΊπΈUnited States BenStallings
Here's an updated patch that changes $query->get() to $query->all() for compatibility with Symfony 6.
- πΊπΈUnited States BenStallings
dang it, forgot the attachment. Here is the attachment for comment #9.