0 votes
in Rock by MarissaEubanks (4.0k points)
edited

I'm not sure how to fix the lava to resolve this Lava exception. I think I've found the correct block, but I'm not sure what needs updating...

enter image description hereenter image description here

Exception: https://rock.northpointe.org/admin/system/exceptions/detail/45517

Person Record: https://rock.northpointe.org/Person/33066

1 Answer

+1 vote
by DavidTurner (14.9k points)
edited
 
Best answer

The message is saying that when resolving Lava using Fluid, it is not resolving same as Liquid. If you look closely, the difference is the "at" between date and time:

enter image description here

That is likely due to how Lava is trying to format date by escaping the "t" character with "\" symbol:

enter image description here

I would suggest breaking that date format into two separate outputs, one for the date, and one for the time. Like this:

... on {{ locModifiedDate | Date:'MMMM d, yyyy }} at {{ locModifiedDate | Date:'h:mm:ss tt' }} ...
Welcome! Here you can ask questions and receive answers (hopefully) from other members of our team.
...