|
2 | 2 |
|
3 | 3 | Native AngularJS datetime picker directive styled by Twitter Bootstrap 3
|
4 | 4 |
|
| 5 | +[](https://gitter.im/dalelotts/angular-bootstrap-datetimepicker?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) |
5 | 6 | [![MIT License][license-image]][license-url]
|
6 | 7 | [](https://travis-ci.org/dalelotts/angular-bootstrap-datetimepicker)
|
| 8 | +[](https://coveralls.io/github/dalelotts/angular-bootstrap-datetimepicker?branch=master) |
7 | 9 | [](https://david-dm.org/dalelotts/angular-bootstrap-datetimepicker)
|
8 | 10 | [](https://david-dm.org/dalelotts/angular-bootstrap-datetimepicker#info=devDependencies)
|
| 11 | +[](https://github.com/semantic-release/semantic-release) |
9 | 12 | [](http://commitizen.github.io/cz-cli/)
|
10 | 13 | [](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=F3FX5W6S2U4BW&lc=US&item_name=Dale%20Lotts&item_number=angular%2dbootstrap%2ddatetimepicker¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted "Donate one-time to this project using Paypal")
|
11 | 14 | <a href="https://twitter.com/intent/tweet?original_referer=https%3A%2F%2Fabout.twitter.com%2Fresources%2Fbuttons&text=Check%20out%20this%20%23AngularJS%20directive%20that%20makes%20it%20dead%20simple%20for%20users%20to%20select%20dates%20%26%20times&tw_p=tweetbutton&url=https%3A%2F%2Fgithub.com%2Fdalelotts%2Fangular-bootstrap-datetimepicker&via=dalelotts" target="_blank">
|
@@ -400,6 +403,20 @@ moment.locale('en'); // English
|
400 | 403 | moment.locale('zh-cn'); // Simplified chinese
|
401 | 404 | ```
|
402 | 405 |
|
| 406 | +### First day of week |
| 407 | + |
| 408 | +The first day of the week is also determined by moment's locale settings. For example, setting the locale to ```'fr'``` |
| 409 | +will cause Monday to be the first day of the week. |
| 410 | + |
| 411 | +### Hour and minute formats |
| 412 | + |
| 413 | +The format of hours and mintues is also determined by moment's locale settings. |
| 414 | + |
| 415 | +hours are displayed using 'll' as the format. |
| 416 | +minutes are displayed using 'lll' as the format. |
| 417 | + |
| 418 | +You can change the format by setting moment to the desired locale, or creating a custom locale with the desired format. |
| 419 | + |
403 | 420 | # Screen shots
|
404 | 421 |
|
405 | 422 | ## Year view
|
|
0 commit comments