• Resolved TStone

    (@tstone)


    Hello.
    Just installed the plugin, and are going through the example-functions.php (having copypasted it into the functions.php file).

    The date picker is a bit weird, since “September” is missing, so the following months have gotten 1 month off, labeling November “Dec”, leaving December “Undefined”.
    Screencapture of the situation:
    http://file.tomstone.se/no_sept.jpg

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    I’m a little curious if it’s a translations issue more than a CMB2 core issue. What language are you using for your WP admin?

    Thread Starter TStone

    (@tstone)

    Difficult to say.
    From the user perspective, getting ‘November’ when selecting ‘December’ certainly seems to be a problem with the core functionality.
    Although, if I would guess, it might be some javascript array in some .js date picker translation file somewhere that is missing “September”, hence getting 11 entities where it should be 12, making the 12’th undefined.

    My WP admin is Swedish.

    I just updated the Swedish plugin translation. Expect a language pack to become available via update screen within a couple of hours.

    Thread Starter TStone

    (@tstone)

    Awesome! Thanks! 🙂

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    @tobifjellner was it indeed a case of a missed translation spot that resulted in the offset?

    For what it’s worth, I checked all of the core files and everywhere that listed months had September included.

    @tw2113 No idea. The previous translation had September where it should be. But the translation was only at 80%, and language packs for plugins and themes are only created once the 95% mark has been hit, so it’s possible that an older translation package with an error was used somewhere. If a string with a translation error was corrected after a dilution of the source strings forced the percentage of translated strings below 95%, then no new package would have been created.

    Would be good to get a word from @tstone whether the issue was solved or not. I don’t use this plugin myself.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Gotcha. Thanks for the feedback anyway 😀

    Thread Starter TStone

    (@tstone)

    Yes, it was solved! Thank you!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘“September” missing in date picker’ is closed to new replies.