Skip to content

Instantly share code, notes, and snippets.

@linuxturtle
Created March 19, 2015 17:36
Show Gist options
  • Select an option

  • Save linuxturtle/7c2661c4b92dd783dc25 to your computer and use it in GitHub Desktop.

Select an option

Save linuxturtle/7c2661c4b92dd783dc25 to your computer and use it in GitHub Desktop.
--- syntax.php.orig 2015-03-19 11:30:01.518409001 -0600
+++ syntax.php 2015-03-19 11:27:40.822409001 -0600
@@ -146,10 +146,9 @@
}
}
+ $this->MonthStart = ($this->viewDate['wday'] == 0) ? 7 : $this->viewDate['wday'];
if($this->MonthStart == 7 && $this->getConf('weekstart') == 'Sunday') {
$this->MonthStart = 0;
- } else {
- $this->MonthStart = ($this->viewDate['wday'] == 0) ? 7 : $this->viewDate['wday'];
}
// turn off caching
@jwbradley
Copy link

Perfect! Solved my issue. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment