3 posts
  • Has been part of the Envato Community for over 3 years
  • Has collected 1+ items on Envato Market
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
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Located in Australia
  • Has sold $1,000+ on Envato Market
+4 more
Australia says

calendar display in what ?

731 posts
  • Has referred 500+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+7 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
  • Has been part of the Envato Community for over 3 years
  • Has collected 1+ items on Envato Market
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
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Located in Australia
  • Has sold $1,000+ on Envato Market
+4 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
  • Has been part of the Envato Community for over 3 years
  • Has collected 1+ items on Envato Market
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