Guest Posted March 18, 2015 Posted March 18, 2015 how do you change the date format on forms. I need DD/MM/YYYYOrDD/MONTH/YYYY The US dates are feeding into my calender and are screwing up my bookings. January 12th 2015 is becoming 1st Dec 2015. Many Thanks
Guest Posted March 18, 2015 Posted March 18, 2015 how do you change the date format on forms. I need DD/MM/YYYYOrDD/MONTH/YYYY The US dates are feeding into my calender and are screwing up my bookings. January 12th 2015 is becoming 1st Dec 2015. Many Thanks
Guest Posted March 18, 2015 Posted March 18, 2015 how do you change the date format on forms. I need DD/MM/YYYYOrDD/MONTH/YYYY The US dates are feeding into my calender and are screwing up my bookings. January 12th 2015 is becoming 1st Dec 2015. Many Thanks
Guest Posted March 18, 2015 Posted March 18, 2015 how do you change the date format on forms. I need DD/MM/YYYYOrDD/MONTH/YYYY The US dates are feeding into my calender and are screwing up my bookings. January 12th 2015 is becoming 1st Dec 2015. Many Thanks
lali Posted June 21, 2015 Posted June 21, 2015 Awesome this is amazing, thank you David! I just have one issue... for some reason it's changing the date to one day earlier when making the translation (see screenshot: https://www.dropbox.com/s/ifj8gev2xbus2c6/Screenshot%202015-06-21%2020.23.30.png?dl=0) It flashes the correct date in english for one second and then switches the number to the previous date. Any idea why this is happening?
Guest Posted July 3, 2015 Posted July 3, 2015 I have tried all of the suggested options. Not a single one worked with the Wells theme. Why is it so hard for Squarespace to offer a working option to localise your site?
Guest Posted July 3, 2015 Posted July 3, 2015 I have tried all of the suggested options. Not a single one worked with the Wells theme. Why is it so hard for Squarespace to offer a working option to localise your site?
StevenIseki Posted October 15, 2015 Posted October 15, 2015 If you just want to do a quick formatting, e.g. move fields around in the date field I used some jQuery to move the elements around, only useful for changing the order. For example this moves the month over, changing it to DD MM YYYY. $(document).ready(function () { dateFormat(); }) function dateFormat () { var $date = $('.sqs-col-6').last().find('.date'); // find and kill month var $month = $date.find('.month'); $date.find('.month').remove(); // reinsert month behind day $month.insertAfter($date.find('.day')) } Just added the script and jQuery to a code block below the form. <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.0/jquery.js'></script> <script src="https://s3-ap-southeast-2.amazonaws.com/judy-nunn.com-assets/form.js"></script>
Widephish Posted October 21, 2015 Posted October 21, 2015 I think i'm missing something, I'm using Bedford template, when I put the code at the right place, save & reload, nothing seem to change ? any sugestion Thank you
CCWWP Posted October 29, 2015 Posted October 29, 2015 This code worked great for my actual blog, but I've set up the website so the blog is viewed through a List Summary Block on a page (Flatiron template). On that page the English date remains, even if I put the code in the page header code injection. Any workarounds? Thanks!
Felix.Heber Posted January 25, 2016 Posted January 25, 2016 It looks like it stopped working, any solutions?
Felix.Heber Posted January 25, 2016 Posted January 25, 2016 It looks like it stopped working, any solutions?
Guest Posted December 9, 2016 Posted December 9, 2016 Very good script indeed! Just one thing though, I have a problem getting the Summary to show blog post's dates to french... Anyone got this problem? On my homepage, I put a Summary and chose BLOGS as content. The blog titles are fine but the date is still in english. Help :) Thanks alot!!!
Guest Posted March 3, 2017 Posted March 3, 2017 Just back with the same question above, anyone tried to translate dates on Summary's?Here's a screenshot of one. The text under the summary has date and author. The date is english (the month name) and can't find a way to translate it. That's the only item I couldn't translate.
LoW-toneworx Posted January 17, 2018 Posted January 17, 2018 Did you found out how? Interested in the same change but for german.
margothermans Posted April 15, 2020 Posted April 15, 2020 Does anyone have a solution for this? The code doesn't seem to work on summaries 😞
Beyondspace Posted March 8, 2021 Posted March 8, 2021 On 4/15/2020 at 5:31 PM, margothermans said: Does anyone have a solution for this? The code doesn't seem to work on summaries 😞 what is your site url BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
Recommended Posts
Archived
This topic is now archived and is closed to further replies.