Problems with date format and list
-
Hi,
It’s me, again (sorry).
I have 2 problems that I can’t solve.
Here is the URL in question JSON: https://brewingtheory.hop3team.com/formations/la-maintenance-en-brasserie-et-micro-brasserie.jsonMy problems :
1 – I tried to format the date, but when I use this code as recommended in the documentation “:datetime,DATE_TIME_FORMAT” to put it in the day month year format, the date is no longer displayed.
(I tested with and without the quotes).{upcoming_sessions.start_date:datetime,"m-d-Y"} au {upcoming_sessions.end_date}<br>
2 – I tried to call a list present in the JSON, but it doesn’t work (I most certainly misunderstood how to do it) :
{subloop-array:program:-1} {module.name}<br> {module.description} {/subloop-array:program}
Otherwise, thanks to your valuable advice, I was able to call and correctly display the entire file (well, apart from these last 2 little problems).
Thanks in advance !
Best regards
Auréline
The page I need help with: [log in to see the link]
- The topic ‘Problems with date format and list’ is closed to new replies.