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 ?

737 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.

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by