Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 1

Universal Date Format


chupacabrablog

Question

Hi All,

I'm wanting to make all my posts' dates be in the same format. For the Summary blocks the date is in DD/MM/YYYY format, which is fine. But in other sections of my site dates appear with the month spelled out as Month DD, YYYY - which I prefer. 

Does anyone have code to make the date format universal throughout the site?

Thanks in advance!

Link to comment

4 answers to this question

Recommended Posts

  • 0
9 hours ago, chupacabrablog said:

I'm wanting to make all my posts' dates be in the same format.

Squarespace dates aren't standardised; they differ between blocks, pages and templates.

To help you, the community will need you to provide a working link to the site, plus details of the pages where dates are shown.

sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi! I'm Paul, an independent Squarespace Consultant since 2007 and founder of SF Digital, building the features that Squarespace didn't include. Our mini-extensions allow you to pick dates in any format, show prices in other currencies, take orders without payment or improve your cartI value honesty, integrity, transparency and respect . Links in my posts may refer to SF Digital products or may be affiliate links.

Link to comment
  • 0
On 9/13/2021 at 5:50 AM, chupacabrablog said:

Hi All,

I'm wanting to make all my posts' dates be in the same format. For the Summary blocks the date is in DD/MM/YYYY format, which is fine. But in other sections of my site dates appear with the month spelled out as Month DD, YYYY - which I prefer. 

Does anyone have code to make the date format universal throughout the site?

Thanks in advance!

I made a small script for the issue, hope it hopes

In your case: "mm dd, yyyy" --> 02 25, 2021

Greeting, it's BaNgan from BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Youtube Gallery for Squarespace
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
  • 0
8 hours ago, Sopi said:

I will share you two universal date format both are the correct-

1. YYYY-MM-DD

2. YYYYMMDD

#2 without seperator?

Greeting, it's BaNgan from BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Youtube Gallery for Squarespace
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...