nekken / ng2-fullcalendar

95 stars 47 forks source link

A locale problem #33

Open RettuSh opened 7 years ago

RettuSh commented 7 years ago

Hi! I have a problem with the locale. With arrows, i marked where the problem is. In my options, i have property locale: 'pl' but this just not working as well. Any idea why? image

image

jhenrich commented 7 years ago

Did you add the local.js files to your project? They come with fullcalendar IIRC

Maybe this helps: https://fullcalendar.io/docs/text/locale/

You can include the specific local file with: <script src='fullcalendar/locale/es.js'></script>

or you can include all languages with <script src='fullcalendar/locale-all.js'></script>

Including the scripts may be different for your dev environment (e.g. when you are loading scripts with angular cli or something like that)

But these changes will not affect the time format in the vertical axis of the agenda views. The fullcalendar docs will help here aswell. https://fullcalendar.io/docs/agenda/slotLabelFormat/ might be what you are looking for