uxsolutions / bootstrap-datepicker

A datepicker for twitter bootstrap (@twbs)
Apache License 2.0
12.68k stars 6.06k forks source link

conflicting documentation, version, tutorials. #2445

Open robeverett opened 6 years ago

robeverett commented 6 years ago

Not exactly a bug or issue, but a query as why there isn't a central source of information on this.

https://ng-bootstrap.github.io/#/components/datepicker/overview The boostrap components in that link have the datepicker, yet on the main bootstrap page it isn't mentioned: https://getbootstrap.com/docs/4.1/components/alerts/

I'm thoroughly confused ! Which is best ? ng-bootstrap or getboostrap.com ?

I've also seen ngx Bootstrap. Why can't there just be one source to make easy for developers ? Like Microsoft do.

tiesont commented 5 years ago

I realize this is an old question, but none of the libraries you've referenced are actually related. ng-bootstrap and ngx-bootstrap are two entirely separate projects that were built in an attempt to integrate Bootstrap components (both official and unofficial) & styling into Angular (and AngularJS, but that's a whole other issue), and neither have anything to do with the Bootstrap team. This plugin, bootstrap-datepicker, is also not a part of the Bootstrap project - there's never been a date plugin in the Bootstrap project.

To the best of my knowledge, you probably want to: 1) Use ng-bootstrap if you're using AngularJS, 2) Use ngx-bootstrap if you're using Angular, 3) Use plain old Bootstrap if you're using jQuery to build your own interactions.