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
Updated by Andreas Otto † almost 18 years ago
Hi Olivier,
we can try to integrate the new features into the next version of TYPO3.
Cheers,
Andreas
Updated by Andreas Otto † over 17 years ago
Discussing the issue on the core list now.
Updated by Martin Kutschker over 17 years ago
Changed "julianday" in SVN to "dayofyear" to avoid ambiguity of definition of Julian Date.
Actions