3 posts
  • 5 Years of Membership
  • Collector Level 1
glennpaulley
says

Hi – is there a straightforward way to change the calendar display so that the first day of the week is not Monday, but rather Sunday?

5492 posts
  • 6 Years of Membership
  • Affiliate Level 1
  • Australia
  • Author Level 3
+5 more
Australia
says

calendar display in what ?

737 posts
  • Affiliate Level 7
  • Author Level 8
  • Collector Level 3
  • Top Monthly Author
+9 more
mordauk
says

calendar display in what ?

The events calendar pro plugin by Epicera.

There is not that I”m aware of. Try contacting Epicera.

Pippin

3 posts
  • 5 Years of Membership
  • Collector Level 1
glennpaulley
says

calendar display in what ?

Sorry, I guess I should have been more specific.

When using the Event Calendar Pro plugin, if you display the calendar view of all events (or a category of events) on its own page (ie http://glennpaulley.ca/curling/events) then each week on the calendar is displayed with Monday being the first day of the week.

My question is if it’s straightforward to display the calendar so that Sunday is displayed as the first day of the week.

Glenn

5492 posts
  • 6 Years of Membership
  • Affiliate Level 1
  • Australia
  • Author Level 3
+5 more
Australia
says

Have you tried setting a test page and changing the code:

<tr>
                <th id="tec-monday" abbr="Monday">Mon</th><th id="tec-tuesday" abbr="Tuesday">Tue</th><th id="tec-wednesday" abbr="Wednesday">Wed</th><th id="tec-thursday" abbr="Thursday">Thu</th><th id="tec-friday" abbr="Friday">Fri</th><th id="tec-saturday" abbr="Saturday">Sat</th><th id="tec-sunday" abbr="Sunday">Sun</th>            </tr>

to

<tr>
                <th id="tec-sunday" abbr="Sunday">Sun</th><th id="tec-monday" abbr="Monday">Mon</th><th id="tec-tuesday" abbr="Tuesday">Tue</th><th id="tec-wednesday" abbr="Wednesday">Wed</th><th id="tec-thursday" abbr="Thursday">Thu</th><th id="tec-friday" abbr="Friday">Fri</th><th id="tec-saturday" abbr="Saturday">Sat</th>            </tr>

3 posts
  • 5 Years of Membership
  • Collector Level 1
glennpaulley
says

Found it. The Events Pro Calendar plugin uses the Wordpress setting for the first day of the week as specified in the “General Settings” admin page. Mine was the default (Monday). The function

get_weekday_initial()

is what returns the first day of the week to the plugin code.

Setting my first day of the week in the General Settings page to “Sunday” solved the problem.

by
by
by
by
by
by