TrevorS / bootstrap3-datetimepicker-rails

This gem packages the bootstrap-datetimepicker for the Rails 3.1+ asset pipeline.
MIT License
292 stars 123 forks source link

Require Moment.js version of at least 2.9.0 #60

Open trliner opened 7 years ago

trliner commented 7 years ago

Recent versions of bootstrap-datetimepicker use 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.