Closed (won't fix)
Project:
Date
Version:
6.x-2.x-dev
Component:
Date API
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Oct 2009 at 15:57 UTC
Updated:
19 Feb 2012 at 04:41 UTC
I am currently working on some views that relate to school years. These are *really* hard to show with PHP's built in functions. I'd love it if I had the ability to write my own function to provide a date boundary for a view. For example, a semester view:
if(now() > sept && now() < dec) {
return "december 31";
} elsif(now() > jan && now() < jun) {
return "june 30";
} else {
return "august 31";
}
Comments
Comment #1
arlinsandbulte commented