• Resolved garteth

    (@garteth)


    Hello

    I have been playing around with the plugin, and have noticed that there appears to be a random ‘S’ after the digits if the date when selecting a delivery date.

    The URL below shows this:

    Is there anyway this can be looked into please.

    Image

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author rajeshsingh520

    (@rajeshsingh520)

    Can you send the link of the website, because we have checked on our end we are not getting this kind of “S” issue

    This date picker is a normal WordPress date picker

    Thread Starter garteth

    (@garteth)

    Thanks for the reply… it turns out it is actually part of the WordPress core that is at fault.

    Checking the source code, just after datepicker.min.js is included, there are default parameters set. One of which was:

    “dateFormat”:”dS MM yy”

    Going into the WordPress configuration under “Settings” then “General”, it had the default UK parameter set as jS F Y.

    This must then be translated into the jQuery format of dS MM yy.

    If I change the WordPress date setting to d/m/y, the issue is resolved.

    A more suitable fix would be to have wp-includes/script-loader.php handle the unknown ‘S’.
    I’ll submit a bug report to WordPress for this now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Date field showing random S’ is closed to new replies.