Hi!
I have a workaround that has worked for me (ver. 1.15.1) with lesser damage to the localization and functionality. Thanks bmerino for the comment.
The problem is that scheduler can't parse the date string with local characters in it.
I've changed the file include/class.schedule.php, so it no longer replaces the day's name with the translated version.
--- a/include/class.schedule.php
+++ b/include/class.schedule.php
@@ -409,7 +409,7 @@ class Schedule extends VerySimpleModel {
static function getTypes() {
static $translated = false;
- if (!$translated) {
+ if (false) {
foreach (self::$types as $k => $v)
self::$types[$k] = __($v);
}
@@ -1040,7 +1040,7 @@ class ScheduleEntry extends VerySimpleModel {
static function getFrequencies() {
static $translated = false;
- if (!$translated) {
+ if (false) {
foreach (static::$frequencies as $k=>$v)
static::$frequencies[$k] = __($v);
}
@@ -1050,7 +1050,7 @@ class ScheduleEntry extends VerySimpleModel {
static function getDays() {
static $translated = false;
- if (!$translated) {
+ if (false) {
foreach (static::$days as $k=>$v)
static::$days[$k] = __($v);
}
@@ -1060,7 +1060,7 @@ class ScheduleEntry extends VerySimpleModel {
static function getWeeks() {
static $translated = false;
- if (!$translated) {
+ if (false) {
foreach (static::$weeks as $k=>$v)
static::$weeks[$k] = __($v);
}
@@ -1070,7 +1070,7 @@ class ScheduleEntry extends VerySimpleModel {
static function getMonths() {
static $translated = false;
- if (!$translated) {
+ if (false) {
foreach (static::$months as $k=>$v)
static::$months[$k] = __($v);
}
Cheers