Sha256: 813721f7ae59b31a1ef56b078c90065150998e48895435fdae7d75392c8ccd61

Contents?: true

Size: 1.12 KB

Versions: 56

Compression:

Stored size: 1.12 KB

Contents

# FAQs

# How do I disable the date or time element
<small>How do I format ...; How do I add seconds; etc.</small>

The picker uses the `format` option to decide what components to show. Set `format` to `LT`, `LTS` or another valid [MomentJs format string](http://momentjs.com/docs/#/displaying/format/) to display certain components

# How do I change the language/locale

The picker uses MomentJs to determine the language string. You can use `moment-with-locales` or you can include whatever local file you need. Set the picker's `locale` option to `de` or whatever the locale string is.

# How do I change the styles? The picker closes.

Set `debug:true` which will force the picker to stay open, even `onBlur`. You can hide the picker manually by calling `hide()`

# How do I change the start of the week?

Start of the week is based on the [`locale` provided](Options.md#locale). This is defined by moment's locales. If you want to change it, create your own locale file or override. [See moment's docs](http://momentjs.com/docs/#/i18n/).

# How I use the picker as birthday picker?

Use the [`viewMode`](Options.md#viewmode) option to `'years'`

Version data entries

56 entries across 56 versions & 5 rubygems

Version Path
card-1.96.2 mod/date/vendor/tempusdominus/src/docs/FAQ.md
card-1.96.1 mod/date/vendor/tempusdominus/src/docs/FAQ.md
card-1.96.0 mod/date/vendor/tempusdominus/src/docs/FAQ.md
card-1.95.3 mod/date/vendor/tempusdominus/src/docs/FAQ.md
card-1.95.2 mod/date/vendor/tempusdominus/src/docs/FAQ.md
card-1.95.1 mod/date/vendor/tempusdominus/src/docs/FAQ.md
card-1.95.0 mod/date/vendor/tempusdominus/src/docs/FAQ.md
date_picker-0.0.9 test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/FAQ.md
locomotivecms-3.2.0.rc1 vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/FAQ.md
locomotivecms-3.1.1 vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/FAQ.md
locomotivecms-3.1.0 vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/FAQ.md
locomotivecms-3.1.0.rc3 vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/FAQ.md
locomotivecms-3.1.0.rc2 vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/FAQ.md
locomotivecms-3.1.0.rc1 vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/FAQ.md
date_picker-0.0.8 test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/FAQ.md
date_picker-0.0.7 test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/FAQ.md