Issues with time in daterange
Closed this issue · 2 comments
jesobreira commented
Bug Report
Environment
- Extension version(s): 6.0.0 (?)
- Bulma version: 0.9.0
- OS: OS X
- Browser: Chrome
- How you are customizing the extension: no
Current Behavior
It is not possible to define the final date's time on the timerange.
Furthermore, while changing the dates fires the "select" event, changing the time doesn't, making it impossible to identify whether the time had been changed.
Input Code
- Initialization code:
var calendar = bulmaCalendar.attach($("#daterange").get(), {
type: 'datetime',
isRange: true,
dateFormat: 'DD/MM/YYYY',
showClearButton: false,
showTodayButton: false,
closeOnSelect: true,
maxDate: end,
startDate: start.toDate(),
endDate: end.toDate()
})[0]
calendar.on('select', function() {
var startDate =calendar.startDate
var endDate = calendar.endDate
calendar.save()
console.log(startDate, endDate)
})
ccaiuss commented
The same thing happened to me. I tried for a few days to find the problem without success!! This problem also appears in the official demo !
michael-hack commented
Please test the new 6.1.1, this should fix the problem.