Liquid, JavaScript, themes, sales channels
Hello everyone,
Is it possible to change the date order to DD/MM/YY in Shopify? If yes, how does it usually work?
Solved! Go to the solution
This is an accepted solution.
You need to find date format of liquid code in your theme to change, for example to change published date of a blog article
{{ article.published_at | date: "%d/%b/%y" }}
Where exactly do you want to change the date format?
This is an accepted solution.
You need to find date format of liquid code in your theme to change, for example to change published date of a blog article
{{ article.published_at | date: "%d/%b/%y" }}
Thank you! It solved the issue.
I've been looking to change the date format for how a metafield date in Dawn is displayed and can't find it. Where is it exactly??????? When I put your suggested format I get "JSON: unexpected format error". What is currently there is {{ product.metafields.my_fields.release_date | metafield_text }} Where/what is "metafield_text"? Where do I find this or create a new metafield type?
This is my full code:
"type": "text",
"settings": {
"text": "RELEASE DATE: {{ product.metafields.my_fields.release_date | metafield_text }} .AVAILABLE UNTIL: {{ product.metafields.my_fields.release_end_date | metafield_text }} (Midnight AEDST)",
"text_style": "caption-with-letter-spacing"
}
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024