BYYEARNO doesn't exist in RFC 2445. I suppose that BYWEEKNO is the right specification.

master^2
Javier Martinez Fernandez 2011-02-10 06:45:20 -08:00
rodzic c4042c1628
commit 32fb5aa288
1 zmienionych plików z 5 dodań i 5 usunięć

10
helpers/SG_iCal_Recurrence.php 100755 → 100644
Wyświetl plik

@ -28,7 +28,7 @@ class SG_iCal_Recurrence {
protected $byday;
protected $bymonthday;
protected $byyearday;
protected $byyearno;
protected $byweekno;
protected $bymonth;
protected $bysetpos;
@ -40,7 +40,7 @@ class SG_iCal_Recurrence {
*/
protected $listProperties = array(
'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
*/
public function getByYearNo() {
return $this->getMember('byyearno');
public function getByWeekNo() {
return $this->getMember('byweekno');
}
/**