kopia lustrzana https://github.com/friendica/SG-iCalendar
Merge pull request #6 from ecentinela/master
BYYEARNO doesn't exist in RFC 2445. I suppose that BYWEEKNO is the right specification.master
commit
18275f0d87
|
@ -28,7 +28,7 @@ class SG_iCal_Recurrence {
|
||||||
protected $byday;
|
protected $byday;
|
||||||
protected $bymonthday;
|
protected $bymonthday;
|
||||||
protected $byyearday;
|
protected $byyearday;
|
||||||
protected $byyearno;
|
protected $byweekno;
|
||||||
protected $bymonth;
|
protected $bymonth;
|
||||||
protected $bysetpos;
|
protected $bysetpos;
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ class SG_iCal_Recurrence {
|
||||||
*/
|
*/
|
||||||
protected $listProperties = array(
|
protected $listProperties = array(
|
||||||
'bysecond', 'byminute', 'byhour', 'byday', 'bymonthday',
|
'bysecond', 'byminute', 'byhour', 'byday', 'bymonthday',
|
||||||
'byyearday', 'byyearno', 'bymonth', 'bysetpos'
|
'byyearday', 'byweekno', 'bymonth', 'bysetpos'
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -188,11 +188,11 @@ class SG_iCal_Recurrence {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Corresponds to BYYEARNO in RFC 2445.
|
* Corresponds to BYWEEKNO in RFC 2445.
|
||||||
* @return mixed string if the member has been set, false otherwise
|
* @return mixed string if the member has been set, false otherwise
|
||||||
*/
|
*/
|
||||||
public function getByYearNo() {
|
public function getByWeekNo() {
|
||||||
return $this->getMember('byyearno');
|
return $this->getMember('byweekno');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Ładowanie…
Reference in New Issue