Join the Webstudio community

Updated 3 weeks ago

Date Format for WordPress CMS

Hey All, I'm setting up a site and need to work out the date format I'm receiving from Wordpress via GraphQL. How can I reformat this within the expression editor into a YYYY-MM-DD format?
Attachment
Screenshot_2024-12-17_at_20.09.53.png
B
B
4 comments
Pass it to Time component
That worked, but how do I set the formatting to be exactly how I want it? It appears the options are limited, and I can't add a custom option
Format adapts to specified language. It is never a good idea to use single format for everybody. For example 11.12.24 can mean different dates in europe and us
Add a reply
Sign up and join the conversation on Discord