jquery-date-range-picker: Month UNDEFINED if shortcuts and monthSelect are enabled

The month showed as UNDEFINED if shortcuts and monthSelect are enabled: screenshot_20180313_155839

Config:

{
       shortcuts :
            {
                'prev-days': [1,3,5,7],
                'prev': ['week','month','year'],
                'next-days':null,
                'next':null
            },
        monthSelect: true,
	yearSelect: true,
}

Using jquery-date-range-picker v 0.16.1

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 1
  • Comments: 15 (3 by maintainers)

Commits related to this issue

Most upvoted comments

I can’t see an issue either. I updated the fiddle to include a moment.js library. I did purposely include v2.9 as the docs state that we only need 2.8.1, whereas in reality we need to either fix #421 or update the docs to require 2.12.

https://jsfiddle.net/63ks4vbo/7/