Actions
Feature #16937
closedAdding some more Date Conditions to class.t3lib_matchcondition.php
Start date:
2007-02-02
Due date:
% Done:
0%
Estimated time:
PHP Version:
4
Tags:
Complexity:
Sprint Focus:
Description
I have added 2 more Date Conditions to class.t3lib_matchcondition.php.
year, julianday
Please have a look if this makes sense to you.
New Conditions
[year = 2006]
some.silly.salestax = 16
[end]
[year = 2007]
some.silly.salestax = 19
[end]
[julianday < 300]
some.temp.object.season = spring or summer
[end]
Thanks
Olivier
Code
case 'year': $theTestValue = date('Y',$theEvalTime); break;
case 'julianday': $theTestValue = date('z',$theEvalTime); break;
(issue imported from #M4914)
Files
Actions