File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ Inline always open version
64
64
| name | String | | Input name property |
65
65
| id | String | | Input id |
66
66
| format | String | dd MMM yyyy | Date formatting string |
67
+ | full-month-name | Boolean | false | To show the full month name |
67
68
| language | String | en | Translation for days and months |
68
69
| disabled | Object | | See below for configuration |
69
70
| placeholder | String | | Input placeholder text |
Original file line number Diff line number Diff line change @@ -103,6 +103,10 @@ export default {
103
103
value: String ,
104
104
default: ' en'
105
105
},
106
+ fullMonthName: {
107
+ value: Boolean ,
108
+ default: false
109
+ },
106
110
disabled: {
107
111
type: Object
108
112
},
@@ -204,7 +208,7 @@ export default {
204
208
},
205
209
currMonthName () {
206
210
const d = new Date (this .pageDate )
207
- return DateUtils .getMonthNameAbbr (d .getMonth (), this .translation .months .abbr )
211
+ return DateUtils .getMonthNameAbbr (d .getMonth (), this .fullMonthName ? this . translation . months . original : this . translation .months .abbr )
208
212
},
209
213
currYear () {
210
214
const d = new Date (this .pageDate )
You can’t perform that action at this time.
0 commit comments