kylestetz / CLNDR

:calendar: a jQuery calendar plugin that uses HTML templates
http://kylestetz.github.io/CLNDR/
MIT License
2.83k stars 445 forks source link

"Na" being displayed instead of previous month's dates #338

Closed Blackbaud-KimberlyHammer closed 5 years ago

Blackbaud-KimberlyHammer commented 5 years ago

Issue Being Reported

Notice that at the beginning of the month, the previous month's dates are showing as "Na" instead of the date. At the end of the month, the next month's dates are displaying properly.

image

Expected Behavior

I would expect the dates for the previous month to display correctly, like they do for the next month.

Steps to Reproduce

  1. Go to https://indiana-al-anon.org/events/event-calendar/ or https://indiana-al-anon.org/ and notice the issue described above on the calendars.
  2. Click > to forward to the next month and notice it happens for all months whose first day of the month does not fall on Monday.

Your Environment

gjwmvg commented 5 years ago

Dear Blackbaud-KimberlyHammer, it might be user fad115 found a solution for your problem. Look at https://wordpress.org/support/topic/nan-in-adjecant-month-fix/

mikegioia commented 5 years ago

@Blackbaud-KimberlyHammer If this is still an issue for you, would you please mind doing the following things for me:

  1. Upgrading to the latest version of clndr (1.4.9 right now)
  2. Provide a configuration example directly on this issue.

I believe you that it's not working on your site but I'll need config to test with on my machine, and to be able to reproduce the error for testing.

mikegioia commented 5 years ago

Closing this since it seems stale.