jtsage / jtsage-datebox

A multi-mode date and time picker for Bootstrap (3&4), jQueryMobile, Foundation, Bulma, FomanticUI, and UIKit (or others)
http://datebox.jtsage.dev/
Other
474 stars 166 forks source link

Datebox - dateFieldOrder string representation breaks month select #495

Open CapDev opened 4 years ago

CapDev commented 4 years ago

Setting the overrideDateFieldOrder option - when capitalising "M" for month this is not being allowed to change in the Datebox.

Expected result is the select buttons to change the month as working for when set to 'm'.

Using latest/jtsage-datebox.bootstrap.js for Bootstrap 3.4.1.

Occurs in the Chrome browser version 84 on macOS.

Codepen of issue: https://codepen.io/CapDev/pen/QWWBmXm

Edited to remove the minYear/maxYear error as found the issue as my own.

Thanks