public static property DateRRuleCalc::$date_order in Date 8
Map some common iCal direction values to the text that works more reliably in DateTime::modify().
File
- date_repeat/
lib/ Drupal/ date_repeat/ DateRRuleCalc.php, line 48 - Code to compute the dates that match an iCal RRULE.
Class
Namespace
Drupal\date_repeatCode
public static $date_order = array(
'+1' => 'First',
'+2' => 'Second',
'+3' => 'Third',
'+4' => 'Fourth',
'+5' => 'Fifth',
'-1' => 'Last',
'-2' => '-2',
'-3' => '-3',
'-4' => '-4',
'-5' => '-5',
);