Title: Calendar hack: problem now with php the_date
Last modified: August 18, 2016

---

# Calendar hack: problem now with php the_date

 *  [Erkki](https://wordpress.org/support/users/erkki/)
 * (@erkki)
 * [22 years, 7 months ago](https://wordpress.org/support/topic/calendar-hack-problem-now-with-php-the_date/)
 * First I don’t know if I’m right to post a new topic but I feel like this problem
   although directly related to the following post is maybe somehow very specific
   to my WP usage.
    Shortly, I wanted to have the calendar in Finnish and starting
   with Monday. Through the instructions given on those threads – 1- [http://wordpress.org/support/3/1511](http://wordpress.org/support/3/1511)
   2- [http://wordpress.org/support/3/2629](http://wordpress.org/support/3/2629)–
   I ended up after modifying the $weekday[0]=’Sunday’ to ‘Monday’ in wp-config-
   extra.php to have a calendar displaying everything correctly. Great! And thanks
   to all great contributors I was very happy to have this done. Well, I’m facing
   now another problem which is obviously connected to the change of $weekday[0]
   =’Monday’. As a result, calling php the_date in my index.php with the following
   settings, l, d/m/Y returns the day (l) wrong, showing Saturday instead of Friday.
   My php knowledge is very tight (willing to learn though!) and I’ve tried to make
   changes but I’ve basically no idea on what I’m really doing and I don’t feel 
   like messing up (again!) with template-function.php or any other file. I believe
   the calendar hack is important for many end users as in a bunch of countries 
   starting a week with Monday makes more sense than with Sunday. Could someone 
   help me to figure out how to keep my calendar looking like I want and at the 
   same time being able to display the day in full characters in my <h2> headings?
   Hope I’m not asking too much! Thanks for helping me…

Viewing 1 replies (of 1 total)

 *  Thread Starter [Erkki](https://wordpress.org/support/users/erkki/)
 * (@erkki)
 * [22 years, 7 months ago](https://wordpress.org/support/topic/calendar-hack-problem-now-with-php-the_date/#post-39930)
 * Anyone please to help sorting out this problem?

Viewing 1 replies (of 1 total)

 The topic ‘Calendar hack: problem now with php the_date’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [Erkki](https://wordpress.org/support/users/erkki/)
 * Last activity: [22 years, 7 months ago](https://wordpress.org/support/topic/calendar-hack-problem-now-with-php-the_date/#post-39930)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
