Recent versions of bootstrap-datetimepickeruse the moment.isDate() function, which wasn't exposed in Moment.js until version 2.9.0 (changelog). Requiring version 2.9.0 of momentjs-rails in the gemspec will make developers that are upgrading to a recent version of bootstrap3-datetimepicker-rails aware of this dependency.
A similar change was already made to the README in 84e78ecf17588f0f1e381cb758e30b2cdd0adc48.
Recent versions of
bootstrap-datetimepicker
use themoment.isDate()
function, which wasn't exposed in Moment.js until version 2.9.0 (changelog). Requiring version 2.9.0 ofmomentjs-rails
in thegemspec
will make developers that are upgrading to a recent version ofbootstrap3-datetimepicker-rails
aware of this dependency.A similar change was already made to the
README
in 84e78ecf17588f0f1e381cb758e30b2cdd0adc48.