FantasyThemes Help Desk

Change date format

Closed autoRoyal - Automotive WordPress Theme· Opened Mar 29, 2023
  1. Alex Balogh4 years ago

    Hi,
    I want to change the Date format to DD/MM/YY,
    Currently its MM/DD/YY,

    Please let me know how can I do that?

    Thanks

  2. Alex GurghisSupport Agent4 years ago
    Hi Alex,

    It requires to change the date format in jQuery library.

    Yours sincerely

    Alex Gurghis
    WordPress Developer
    www.alexgurghis.com

    Dribbble  Instagram  Envato
  3. Alex Balogh4 years ago

    We have updated js file in autoroyal/assets/js/main.js

    from

    var fmt = 'm/d/Y';

    to

    var fmt = 'd/m/Y';

    Then other js stoped working

    We need to customize theme main js file right and not jquery library yeah?

  4. Alex GurghisSupport Agent4 years ago
    Yes, but there are multiple places where it needs to be changed.

    Yours sincerely

    Alex Gurghis
    WordPress Developer
    www.alexgurghis.com

    Dribbble  Instagram  Envato
  5. Alex Balogh4 years ago

    Can you Please let me know where can I change to make it work?

    Just wanted to change the date format to dd/mm/yy

  6. Alex GurghisSupport Agent4 years ago
    Hi,

    Please send me a link, login credentials and FTP access and I will do it for you.

    Yours sincerely

    Alex Gurghis
    WordPress Developer
    www.alexgurghis.com

    Dribbble  Instagram  Envato
  7. Alex Balogh4 years ago

    Site URL: https://abprocars.aghadidevelopment.com/

    Backend Credentials

    https://abprocars.aghadidevelopment.com/wp-admin

    webadmin

    Welcome@2023!@#

    FTP Details:

    Hostname: ftp.abprocars.aghadidevelopment.com

    Username: webadmin@abprocars.aghadidevelopment.com

    Password: 43@#11M1)c5?

    Port: 21

    So there are 2 issue we need to resolve -

    1. Change date format to DD/MM/YY

    2. Please block write access in "pick up date" and "return date" - we disabled it for desktop but for mobile its not disabling, please check the attachment





  8. Alex Balogh4 years ago

    this is the attachment

  9. Alex Balogh4 years ago

    Do you have any news for me?

  10. Alex GurghisSupport Agent4 years ago
    Hi Alex,

    I changed the date to MM/DD/YY but not sure about the second issue. Can you send a screenshot of what you want to block on mobile.

    Thank you.

    Yours sincerely

    Alex Gurghis
    WordPress Developer
    www.alexgurghis.com

    Dribbble  Instagram  Envato
  11. Alex Balogh4 years ago

    To answer you question,
    The second point is to disable typing from date picker on mobile device, if you click on the phone it opens up the keyboard,

  12. Alex Balogh4 years ago

    Hi, Thanks for that,

    But after you made the fixes - the other issue occurred, The responsiveness or the site is gone,

    the developer's and the designer's work is gone

    1. the first bug is that after I get to step 2 of the booking, it doesn't let me choose which insurance option I want, "NO COVERAGE" ; "LIMITED" ; "0 RISK" . I DON'T KNOW WHY! but it is a problem

    2. Another bug is that I can't select the pick up and return time from my phone,

    3. That when I click on a date in the calendar it doesn't save the date, I have to press "ok" or "access" from the keyboard. I don't want that. I want when I click on a date in the calendar it remembers the date. And not to open my keyboard.

    Time picker opens up the second dropdown after selecting the time for once,

    It seems like all the JS is reverted by you and all our work / modifications are gone please find the attachment for all the points, Please check

  13. Alex Balogh4 years ago
    these are the attachments
  14. Alex GurghisSupport Agent4 years ago
    Changed back o original jQuery file.

    Yours sincerely

    Alex Gurghis
    WordPress Developer
    www.alexgurghis.com

    Dribbble  Instagram  Envato
  15. Alex Balogh4 years ago

    Ok, Thanks
    We still need the date DDMMYY format and on mobile version - we wont to disable to type on date field

  16. Alex Balogh4 years ago

    You can let me know where did you do that and what you changed?

    I can check try to do

  17. Alex Balogh4 years ago

    Hi,
    we still need those tasks to be done, 


    Thanks

  18. Alex Balogh4 years ago

    Any news for me?

Have something to add?Sign in to reply