-
Posts
20 -
Joined
-
Last visited
Reputation Activity
-
BobRockefeller got a reaction from tci_ca in [FreeShare] Date display format options on all pages
I used the MMMM DD, YYYY format and it worked on the first try. Very nice!
-
BobRockefeller got a reaction from mazmac in [FreeShare] Date display format options on all pages
I used the MMMM DD, YYYY format and it worked on the first try. Very nice!
-
BobRockefeller got a reaction from Beyondspace in [FreeShare] Date display format options on all pages
I used the MMMM DD, YYYY format and it worked on the first try. Very nice!
-
BobRockefeller reacted to Beyondspace in Can the year be added to the display of the published date?
Since you site is US based, I chose the date format "mm-dd-yyyy"
Check the snippet on snapshot mode of your site here
The snippet is originated from https://forum.squarespace.com/topic/207841-freeshare-date-display-format-options-on-all-pages/#comment-506718
<!-- Fix inconsistent blog date format on Squarespace 7.1 template --> <!-- Squarespace Forum Update 06-11-2021 --> <script src="https://stevenlevithan.com/assets/misc/date.format.js"></script> <script> (function(){ document.addEventListener('DOMContentLoaded', function() { const dateformat = "mm-dd-yyyy"; const pubdates = document.querySelectorAll("time[datetime]:not([class*=event-time]), time[pubdate], time.blog-meta-item--date"); pubdates.forEach(pubDate => { let d = new Date(pubDate.getAttribute("datetime") || pubDate.innerText); if (pubDate.classList.contains('blog-meta-item--date') ) { d = new Date(document.querySelector('[itemprop="datePublished"]').getAttribute('content').split("T")[0]); } pubDate.innerHTML = d.format(dateformat); }); }); })(); </script>
-
BobRockefeller reacted to Beyondspace in One size image to display in the blog, another for the lightroom
Creative block detected! Lol
-
BobRockefeller got a reaction from Beyondspace in One size image to display in the blog, another for the lightroom
That works just fine. I don't know why I could figure that out myself!
-
BobRockefeller got a reaction from Beyondspace in Can the year be added to the display of the published date?
Can the year be added to the display of the published date? How
-
BobRockefeller got a reaction from Beyondspace in Can the year be added to the display of the published date?
I would have expected perhaps a global setting for how dates are displayed so that they are consistent across the site. But reading the referenced post, I see that is not the way. My use, right now, is for blog listings and blog posts.
https://lion-terrier-9jys.squarespace.com/photography/moving-pictures
Password: catdog
I am running Version 7.1, but hope not to have to pay for a business account to get blog dates.
-
BobRockefeller got a reaction from derricksrandomviews in Can the published date of a blog post be changed after it is published?
I may have answered my own question by stumbling around in the blog post options. There's a calendar at the bottom of the pane for selecting the date!