question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Schedule: columnHeaderFormat documentation

See original GitHub issue

Describe the defect When I specify a custom value for columnHeaderFormat, the locale is not honored anymore. E.g., I get Mo, Tu, … Su, instead of their French equivalent Lu, Ma, … Di. Note that I do get the French names when columnHeaderFormat is not explicitly specified.

<p:schedule columnHeaderFormat="timeGridWeek: 'dd'" locale="fr">

Environment:

  • PF Version: 8.0
  • JSF + version: joinfaces 4.3.0 (primefaces-spring-boot-starter, mojarra-spring-boot-starter).
  • Affected browsers: ALL

Expected behavior A clear and concise description of what you expected to happen.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
mellowarecommented, Aug 26, 2020

I have updated the PF 8.0 and 9.0 documentation.

FullCalendar V3 used to allow 'dd’as you can see here: https://fullcalendar.io/docs/v3/columnHeaderFormat

FullCalendar v4 and v5 do not and switched to use Intl.DateTimeFormat instead: https://fullcalendar.io/docs/v4/columnHeaderFormat

0reactions
mellowarecommented, Aug 25, 2020

Yep docs are wrong. Fullcalender v4 docs are correct. This component just sits on top of FullCalender.

Read more comments on GitHub >

github_iconTop Results From Across the Web

columnHeaderFormat - Docs v4 - FullCalendar
Determines the text that will be displayed on the calendar's column headings.
Read more >
old-docs/columnHeaderFormat.txt at master - GitHub
Contribute to fullcalendar/old-docs development by creating an account on GitHub. ... Determines the text that will be displayed on the calendar's column ...
Read more >
FullCalendar Scheduler columnHeaderFormat - Stack Overflow
I tried using the columnHeaderFormat but It doesn't seem to work. I also tried using the old one which is the columnFormat and...
Read more >
columnHeaderTemplate - API Reference - Kendo UI PivotGridV2
In this article you can see how to configure the columnHeaderTemplate property of the Kendo UI PivotGridV2.
Read more >
ColumnHeaderFormats - Wisej.NET Extensions
​String Determines the text that will be displayed on the month column headings using momentjs format patterns: http://momentjs.com/docs/#/displaying/format/.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found