Title: dmitryno's Replies | WordPress.org

---

# dmitryno

  [  ](https://wordpress.org/support/users/dmitryno/)

 *   [Profile](https://wordpress.org/support/users/dmitryno/)
 *   [Topics Started](https://wordpress.org/support/users/dmitryno/topics/)
 *   [Replies Created](https://wordpress.org/support/users/dmitryno/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/dmitryno/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/dmitryno/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/dmitryno/engagements/)
 *   [Favorites](https://wordpress.org/support/users/dmitryno/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Event List Calendar] Wrong dates and days combinations.](https://wordpress.org/support/topic/wrong-dates-and-days-combinations/)
 *  [dmitryno](https://wordpress.org/support/users/dmitryno/)
 * (@dmitryno)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/wrong-dates-and-days-combinations/#post-5478520)
 * Could not wait for ryan to fix this since this was really important.
    got to 
   fix it myself. edit plugin php file, find the following lines:
 *     ```
       if(get_settings('start_of_week') != 1) {
       		for($i = 0; $i < $strt_day; $i++) {
       			$cal_output .= "
       						<td class=\"event-list-cal-blank\"> </td>\r";
       			$k++;
       		}
       	} else {
       		for($i = 1; $i < $strt_day; $i++) {
       			$cal_output .= "
       						<td class=\"event-list-cal-blank\"> </td>\r";
       			$k++;
       		}
       	}
       ```
   
 * Occurs three times in the code. In each place, put this instruction before the
   for loop in the else clause:
 *     ```
       if ($strt_day < 1)
              $strt_day = 7;
       ```
   
 * Worked for me, hope helps someone else. Ryan, please review and fix this.

Viewing 1 replies (of 1 total)