Closed dongli closed 8 years ago
Hey I had exactly the same problem and as is written here https://github.com/derekprior/momentjs-rails/pull/43
that 2.11.1 momentjs solves it, well at least for me it did, I have it as runtime dependency inside gem, so I bulid gem here (https://rubygems.org/gems/momentjs-rails-updated
)
they hopefully merge it or just refer to master of @egeek repo: https://github.com/egeek/momentjs-rails
hopefully helped a bit :)
Thanks for replying! I have used bootstrap3-datetimepicker-rails
instead. Maybe I will give it a try.
I followed the instructions on the README, and encountered the error:
It comes from
momentjs
, but when I remove therequire
line forbootstrap-datetimepicker
, the error is gone. Thanks in advance!