Remove some characters?
-
Hi!
Thanks for a great plugin!
I am using this code and everything works perfect.
***
{subloop-array:listings:-1}Annonsens ID: {listings.id}<br><br>
{subloop:listings.data:-1}Annonsens uuid: {listings.uuid}<br><br>
Annonsens titel: {listings.title}<br><br>Ans?k senast: {listings.valid_to}<br><br>
L?nk till ans?kan: Mer information och ans?kan till tj?nsten “{listings.title}”<br><br>
Annonsens text (short_text): {listings.short_text}<br><br>{/subloop:listings.data}{/subloop-array:listings}
***
{listings.valid_to} prints a time stamp in this format: 1999-01-01 00:00:00
I wonder if there is a way to remove 00:00:00 and only get the date visible?
Thanks in advance and enjoy your weekend.
Best regards, Niclas
- The topic ‘Remove some characters?’ is closed to new replies.