Open Xalior opened 5 years ago
As of v4, you need a plugin to use date formatting strings:
https://fullcalendar.io/docs/date-formatting#formatting-strings
For example with moment:
https://codepen.io/anon/pen/qwRvqa?editors=0010
The example on doc page should be updated to use a date formatting config object:
this has been fixed in the docs!
but I will keep this issue open because we still need to implement a JS warning
Issue: Any (except blank) custom formatter string in titleFormat on columns causes a JS crash
Docs Ref: https://fullcalendar.io/docs/view-specific-options
Description: Expected valid strings do not seem to work, even exact examples copied from documentation, e.g. 'YYYY/MM/DD'
ErrorLog:
Codepen: Example at https://codepen.io/anon/pen/NmdWRo (inspect JS console to see crash)
See Also: This [https://github.com/CroudTech/vue-fullcalendar/issues/172](other, related, issue) on a custom Vue wrapper has been having this issue since 4.0.0alpha2, but did not have it in 4.0.0alpha1