CMS Date format

Is there a way to change the CMS date being displayed? Such as MM/DD/YYYY and removing timestamp.

Hey @pyxskull, you can find a tutorial for that on this link (I attached a link with a correct timestamp): https://youtu.be/NqNP5wYIGgA?t=600

1 Like

Ahhh, Thank you!!

Are all formatting in functions as PHP or JS?

It’s JS formating, but it is custom. Y is for Year, D for Day, and M for month. I think there is more options, will update you here a bit later

Okay, thank you.

How would I truncate a title so that only 12 characters are displayed?

Hey, it’s only possible through custom JS now, but I might have an alternative for you, and that is to limit rows of text, so for example you can limit text always to take 2 rows, and it will end with “…”

So you can select your text tag, then go to the custom CSS of that tag and add this to inside of self {}.

overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
1 Like