Beyondspace Posted June 2, 2023 Author Share Posted June 2, 2023 5 hours ago, mazmac said: It worked, but now my resume blocks have the SPANISH month, instead of the number, that resolves all, bur work fine with both blogs! You can select different date format in the dropdown, it will display preview of the output so you can choose among them BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
benjiewilhelm Posted June 5, 2023 Share Posted June 5, 2023 On 12/31/2021 at 2:15 PM, Glenn Hubbers said: I tried this on my site. While it does change the format (I prefer yyyy-mm-dd) the date on the index is one day off of the date on the blog post. Example: on the blog index I have a post with the date 2019-12-31 and when you click that post it comes up with the day 2019-12-30 I'm also having a similar issue, has anyone ever figured this out? Link to comment
Beyondspace Posted June 6, 2023 Author Share Posted June 6, 2023 14 hours ago, benjiewilhelm said: I'm also having a similar issue, has anyone ever figured this out? Have you try this https://forum.squarespace.com/topic/207841-freeshare-date-display-format-options-on-all-pages/?do=findComment&comment=630658 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
tci_ca Posted June 13, 2023 Share Posted June 13, 2023 After trying on some different codes to alter the date in the blog post, this code has worked flawlessly! Beyondspace 1 Link to comment
Beyondspace Posted June 13, 2023 Author Share Posted June 13, 2023 5 hours ago, tci_ca said: After trying on some different codes to alter the date in the blog post, this code has worked flawlessly! Glad to hear it! BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Jean-Lou Posted June 29, 2023 Share Posted June 29, 2023 Hi @Beyondspace Where can I find your live editor for your snippet? I can also see a png and the link goes to a page on your site but I can't see any code editor. I tried copying it by hand but the code doesn't seem to work for me. Thanks for your help! Link to comment
Beyondspace Posted June 29, 2023 Author Share Posted June 29, 2023 2 hours ago, Jean-Lou said: Hi @Beyondspace Where can I find your live editor for your snippet? I can also see a png and the link goes to a page on your site but I can't see any code editor. I tried copying it by hand but the code doesn't seem to work for me. Thanks for your help! What is your site url please? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Jean-Lou Posted June 30, 2023 Share Posted June 30, 2023 20 hours ago, Beyondspace said: What is your site url please? It is https://www.carvana.com/press/press-releases Link to comment
Beyondspace Posted July 2, 2023 Author Share Posted July 2, 2023 On 7/1/2023 at 1:10 AM, Jean-Lou said: It is https://www.carvana.com/press/press-releases it is not accessible BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Jean-Lou Posted July 3, 2023 Share Posted July 3, 2023 On 7/1/2023 at 5:09 PM, Beyondspace said: it is not accessible Try this one: https://coral-hen-b3wa.squarespace.com/press/press-releases The other URL is only accessible in the US. Link to comment
Jean-Lou Posted July 3, 2023 Share Posted July 3, 2023 1 hour ago, Jean-Lou said: Try this one: https://coral-hen-b3wa.squarespace.com/press/press-releases The other URL is only accessible in the US. For some reason, the date is not showing up on the blog pages anymore. Thanks for your help. Link to comment
Beyondspace Posted July 4, 2023 Author Share Posted July 4, 2023 8 hours ago, Jean-Lou said: For some reason, the date is not showing up on the blog pages anymore. Thanks for your help. It looks fine to me btw, there is update on the script to better support clickthrough link in posts, you may want to grab the latest snippet from the playground website and update on your site BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
perhapsmybe Posted July 19, 2023 Share Posted July 19, 2023 On 5/12/2023 at 9:04 PM, Beyondspace said: CALL FOR TESTING 🤩 The Beyondspace date-format snippet has been upgraded, please replace your given snippet with the new one from this URL below 🌍 Live editor 🌍 outputFormat supports different kinds of format based on the date string token - MM/DD/YYYY - DD/MM/YYYY - MMM D, YYYY 🌍 Multilingual website is supported out of the box, check for the support locales value here, for example - www.ojala.mx/es/espanol - www.ojala.mx/en/english - www.ojala.mx/en/ojala-en - www.ojala.mx/es/ojala-es 🌍 Only those date format can support locales. For example instead putting `MM/DD/YYYY`, place `LLL` so it can be auto-converted into different languages Format English Locale Sample Output L MM/DD/YYYY 08/16/2018 LL MMMM D, YYYY August 16, 2018 l M/D/YYYY 8/16/2018 ll MMM D, YYYY Aug 16, 2018 🌍 Weglot website is not supported as Weglot has its own mechanism for date time localization, for example cc: @mazmac @ocam @yshahi @AdamR @JoelleM @ChiroUp @g-souza @Creatingspaces Yay! Thank you, this solution works! Beyondspace 1 Link to comment
tonyflores Posted August 7, 2023 Share Posted August 7, 2023 @Beyondspace is there a way to get this to work with passthrough links? Date's aren't not displaying when I toggle that on. Link to comment
mazmac Posted August 9, 2023 Share Posted August 9, 2023 Hello everyone, I tried this new code in www.ojala.mx and works smoothly in both languages EN and ES, thanks. Beyondspace 1 Link to comment
Popsonic Posted August 11, 2023 Share Posted August 11, 2023 Any idea if this works with 7.0 sites or not? I tried to use this for Japanese support on blog posts (news) and it doesn't do anything at all. Link to comment
Beyondspace Posted August 19, 2023 Author Share Posted August 19, 2023 On 8/8/2023 at 1:44 AM, tonyflores said: @Beyondspace is there a way to get this to work with passthrough links? Date's aren't not displaying when I toggle that on. I see you, it is because the passthrough replace the actual blog URL with the link, therefore the code can not fetch the date, do you mind to share the current site URL to have a look? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Beyondspace Posted August 19, 2023 Author Share Posted August 19, 2023 On 8/11/2023 at 11:19 AM, Popsonic said: Any idea if this works with 7.0 sites or not? I tried to use this for Japanese support on blog posts (news) and it doesn't do anything at all. Could you share your site URL BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
tonyflores Posted August 29, 2023 Share Posted August 29, 2023 On 8/18/2023 at 11:55 PM, Beyondspace said: I see you, it is because the passthrough replace the actual blog URL with the link, therefore the code can not fetch the date, do you mind to share the current site URL to have a look? Thank you @Beyondspace It's https://www.silverlining.ngo/research-publications Link to comment
tonyflores Posted September 11, 2023 Share Posted September 11, 2023 On 8/29/2023 at 10:06 AM, tonyflores said: Thank you @Beyondspace It's https://www.silverlining.ngo/research-publications Hi following up to see if you had a chance to look at this @Beyondspace Link to comment
melody495 Posted October 30, 2023 Share Posted October 30, 2023 @Beyondspace Hi, thank you for sharing this! However the live editor doesn't seem to work anymore. I last tried it yesterday I believe, and it was working. But it no longer seems to be working. I put the code into site wide footer code injection. https://scarlet-parrotfish-tp2h.squarespace.com/blog-summary-block password: password Here is my test site. As I am trying to debug my current site, thought I'd test this on a blank canvas, unfortunately the date format is not changing. Either in blog or summary block. Any ideas? It's either my own doing or SS had an update ... Much appreciated. -------- > 👆 <---------- Please quote or @ me when replying, or I won't get a notification Melody | Squarespace Nerd e: melody@melodylee.tech 💻 💁♀️ 1-2-1 Squarespace Training session <- feeling stuck and want to learn? 👩💻 💁♀️ Website help <- send me your to-do list. From code to plugin to domain setup. 🧰 See the tools I use (contain affiliate links) ☕ Did I help? I like coffee (Thank you) Link to comment
Beyondspace Posted November 2, 2023 Author Share Posted November 2, 2023 On 10/30/2023 at 10:15 PM, melody495 said: @Beyondspace Hi, thank you for sharing this! However the live editor doesn't seem to work anymore. I last tried it yesterday I believe, and it was working. But it no longer seems to be working. I put the code into site wide footer code injection. https://scarlet-parrotfish-tp2h.squarespace.com/blog-summary-block password: password Here is my test site. As I am trying to debug my current site, thought I'd test this on a blank canvas, unfortunately the date format is not changing. Either in blog or summary block. Any ideas? It's either my own doing or SS had an update ... Much appreciated. Password is incorrect... BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Beyondspace Posted November 2, 2023 Author Share Posted November 2, 2023 On 9/12/2023 at 2:24 AM, tonyflores said: Hi following up to see if you had a chance to look at this @Beyondspace I saw 2 date format there on the page, which one you need to convert? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
melody495 Posted November 5, 2023 Share Posted November 5, 2023 On 11/2/2023 at 11:38 AM, Beyondspace said: Password is incorrect... So sorry! It's correct now https://scarlet-parrotfish-tp2h.squarespace.com/blog-summary-block password: password I've put the code from the website generator in site wide footer. Thanks -------- > 👆 <---------- Please quote or @ me when replying, or I won't get a notification Melody | Squarespace Nerd e: melody@melodylee.tech 💻 💁♀️ 1-2-1 Squarespace Training session <- feeling stuck and want to learn? 👩💻 💁♀️ Website help <- send me your to-do list. From code to plugin to domain setup. 🧰 See the tools I use (contain affiliate links) ☕ Did I help? I like coffee (Thank you) Link to comment
Beyondspace Posted November 5, 2023 Author Share Posted November 5, 2023 47 minutes ago, melody495 said: So sorry! It's correct now https://scarlet-parrotfish-tp2h.squarespace.com/blog-summary-block password: password I've put the code from the website generator in site wide footer. Thanks I checked the page and see the correct date format? melody495 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment