The community member is setting up a site and needs to reformat the date format received from Wordpress via GraphQL into a YYYY-MM-DD format. The comments suggest using the Time component, but the formatting options are limited. Another community member notes that the date format should adapt to the specified language, as a single format may not work for everyone. The Time component uses the native Intl.DateTimeFormat API, which provides more customization options.
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?
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