Skip to content

Commit

Permalink
fix(readme): Fix JS plugin name
Browse files Browse the repository at this point in the history
  • Loading branch information
Wikiki committed Feb 10, 2018
1 parent c570e90 commit 2b0749d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Bulma's extension to display a calendar. It can be used on page as large calenda
### Date format

```js
date = new DatePicker(document.querySelector('.sr-date'), {
date = new bulmaCalendar(document.querySelector('.sr-date'), {
dataFormat: 'd MM yyyy' // 1 January 2018
});
```
Expand All @@ -36,7 +36,7 @@ yyyy: full year (2018)

```js

date = new DatePicker(document.querySelector('.sr-date'), {
date = new bulmaCalendar(document.querySelector('.sr-date'), {
lang: 'it' // one of: en (default), fr, de, tr, it, th
});
```
Expand All @@ -49,7 +49,7 @@ Here's the options object and the default values as appears on code.
var defaultOptions = {
startDate: new Date(),
// the default data format `field` value
dataFormat: 'yyyy/mm/dd',
dateFormat: 'yyyy/mm/dd',
// internationalization
lang: 'en',
overlay: false,
Expand Down

0 comments on commit 2b0749d

Please sign in to comment.