Fixed naming error in readme
This commit is contained in:
parent
3bdc876f59
commit
186abd93c4
@ -47,7 +47,7 @@ const events = [
|
|||||||
`locale` is an object containing arrays of strings. `monthNames` and `weekdaysNames` are currently supported. Strings in array should be in lowercase. For example:
|
`locale` is an object containing arrays of strings. `monthNames` and `weekdaysNames` are currently supported. Strings in array should be in lowercase. For example:
|
||||||
```javascript
|
```javascript
|
||||||
const locale = {
|
const locale = {
|
||||||
monthNames: [
|
weekdaysNames: [
|
||||||
"sunday",
|
"sunday",
|
||||||
"monday",
|
"monday",
|
||||||
"tuesday",
|
"tuesday",
|
||||||
@ -56,7 +56,7 @@ const locale = {
|
|||||||
"friday",
|
"friday",
|
||||||
"saturday",
|
"saturday",
|
||||||
],
|
],
|
||||||
weekdaysNames: [
|
monthNames: [
|
||||||
"january",
|
"january",
|
||||||
"february",
|
"february",
|
||||||
"march",
|
"march",
|
||||||
@ -81,4 +81,4 @@ enum Viewers {
|
|||||||
MonthViewer, // Month view
|
MonthViewer, // Month view
|
||||||
DayViewer, // Single day view
|
DayViewer, // Single day view
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user