ng2-ui / datetime-picker

Angular2 DateTime Picker
https://ng2-ui.github.io/#/datetime-picker
MIT License
121 stars 62 forks source link

How can I show fullname of month? #132

Closed Arnpd closed 7 years ago

Arnpd commented 7 years ago

Hi.

screen shot 2017-02-03 at 9 12 41 pm

Now it shows "FEB 2017". I want to change it "February 2017".

allenhwkim commented 7 years ago

Please update Ng2Datetime.months

https://github.com/ng2-ui/ng2-datetime-picker/blob/master/README.md#override-built-in-date-parser-and-date-formatter

[
    {fullName: 'January', shortName: 'Jan'},
    {fullName: 'February', shortName: 'Feb'},
    {fullName: 'March', shortName: 'Mar'},
    {fullName: 'April', shortName: 'Apr'},
    {fullName: 'May', shortName: 'May'},
    {fullName: 'June', shortName: 'Jun'},
    {fullName: 'July', shortName: 'Jul'},
    {fullName: 'August', shortName: 'Aug'},
    {fullName: 'September', shortName: 'Sep'},
    {fullName: 'October', shortName: 'Oct'},
    {fullName: 'November', shortName: 'Nov'},
    {fullName: 'December', shortName: 'Dec'}
  ]

You can make the fullname and shortName the same.