Update the repeating patterns.
This commit is contained in:
parent
6d6b1ad708
commit
0ef2977199
1 changed files with 3 additions and 3 deletions
|
@ -78,11 +78,11 @@ class RepeatingEvent extends BaseEntity
|
|||
|
||||
public function getFormatedRepeatPattern() {
|
||||
switch($this->repeating_pattern) {
|
||||
case 'PD7':
|
||||
case 'P7D':
|
||||
return 'Wöchentlich';
|
||||
case 'PD14':
|
||||
case 'P14D':
|
||||
return 'Alle 2 Wochen';
|
||||
case 'PM1':
|
||||
case 'P1M':
|
||||
return 'Monatlich';
|
||||
default:
|
||||
return $this->repeating_pattern;
|
||||
|
|
Reference in a new issue