• Resolved chesscoin

    (@chesscoin)


    Hi,
    When I create an event from the admin backoffice, the date picker swaps the day and month when saving the dates… regardless of which datepicker format I chose on the plugin settings.
    Any idea where this could come from?
    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter chesscoin

    (@chesscoin)

    For example, I chose 01/11/2021 (Nov 1st) from datepicker, it shows 01/11/2021.
    When I press Save, it has saved it as 11/01/2021 (Jan 11th).
    Another example to be clear: If I chose 25/12/2021 from datepicker, it shows 25/12/2021. When I press Save, it tries to save it as 12/25/2021… resulting in error, and system puts 01/01/1970.
    I’m all confused here ??
    I tried to switch theme in case of conflict, change datepicker format… Always issues. Thanks for anyone who could help.

    Hi @chesscoin

    Please check what format of date picker have you selected. Can i Please get a screenshot of your date picket settings.

    Regards,
    Priya

    Thread Starter chesscoin

    (@chesscoin)

    Hi,
    I think I found the guilty plugin : Polylang.
    Here is a screenshot of my datepicker settings: https://paste.pics/69b88d55b35097ba717441fbd1352a2d
    Could it be a js conflict on backoffice? Maybe I could solve it with some code in functions.php?
    Thanks a lot.

    Hi @chesscoin
    If issue you can solve with custom code by deregistering datepicker script then you can do it.

    Thank you

    Thread Starter chesscoin

    (@chesscoin)

    I have managed to deregister datepicker, but when I save/publish the event, it still swaps day and month…

    Hi @chesscoin
    Try default dateformat in Event Manager -> settings -> date and time.

    Thank you

    Thread Starter chesscoin

    (@chesscoin)

    Somehow it seems to work now.
    Many thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Datepicker mix up day month’ is closed to new replies.