+
+2007-04-05 Martin Kutschker <martin.t.kutschker@blackbox.net>
+
+ * Renamed Typoscript condition julianday to dayofyear (see change from 2007-04-03)
+
2007-04-04 Andreas Otto <andreas.otto@dkd.de>
* Related to bug #4447: A directory handle was not correclty used.
2007-04-03 Andreas Otto <andreas.otto@dkd.de>
- * Implemented feature request #4914: Adding to new conditions to class.t3lib_matchcondition.php.
+ * Implemented feature request #4914: Adding to new conditions (year and julianday) to class.t3lib_matchcondition.php.
2007-04-03 Dmitry Dulepov <dmitry@typo3.org>
// hour, minute, dayofweek, dayofmonth, month, year, julianday
case 'hour':
case 'minute':
- case 'dayofweek':
- case 'dayofmonth':
case 'month':
case 'year':
- case 'julianday':
+ case 'dayofweek':
+ case 'dayofmonth':
+ case 'dayofyear':
$theEvalTime = $GLOBALS['SIM_EXEC_TIME']; // In order to simulate time properly in templates.
switch($key) {
case 'hour': $theTestValue = date('H',$theEvalTime); break;
case 'minute': $theTestValue = date('i',$theEvalTime); break;
- case 'dayofweek': $theTestValue = date('w',$theEvalTime); break;
- case 'dayofmonth': $theTestValue = date('d',$theEvalTime); break;
case 'month': $theTestValue = date('m',$theEvalTime); break;
case 'year': $theTestValue = date('Y',$theEvalTime); break;
- case 'julianday': $theTestValue = date('z',$theEvalTime); break;
+ case 'dayofweek': $theTestValue = date('w',$theEvalTime); break;
+ case 'dayofmonth': $theTestValue = date('d',$theEvalTime); break;
+ case 'dayofyear': $theTestValue = date('z',$theEvalTime); break;
}
$theTestValue = intval($theTestValue);
// comp