Date and time management for Symphony
Date and Time provides advanced date and time management for Symphony. It offers an easy interface providing a calendar widget that helps creating multiple dates and date ranges. The field respects the system settings and displays date and time accordingly. Nevertheless, it is capable to read and understand relative date formats.
Information about installing and updating extensions can be found in the Symphony documentation at http://www.getsymphony.com/learn/.
To update Date and Time to a newer version perform the following steps:
All interface related components of Date and Time are JavaScript based. Please make sure to clear your browser cache to avoid interface issues. If another extension or the Symphony core throws a JavaScript error, Date and Time will stop working.
Date and Time offers the following field settings:
shift
will create a day range.shift
will create a time range.start:
will only check start dates,end:
will only check end dates,strict:
will check, if start and end date are in the given filter range,extended:
will work like the unprefixed filter but will treat single dates as an “open range”, starting with the given date but never ending.Filters separated by comma will find all dates that match one of the given dates or ranges.
Filters separated by +
will only find dates that match all of the given dates or ranges.
This extensions accepts all relative dates known to PHP’s DateTime class for filtering. It also allows the creation of filter ranges with to
or earlier than
and later than
.
<date-and-time>
<date timeline="1" type="range">
<start iso="2011-12-06T10:00:00+01:00" time="10:00" weekday="2" offset="+0100">2011-12-06</start>
<end iso="2011-12-24T18:00:00+01:00" time="18:00" weekday="6" offset="+0100">2011-12-24</end>
</date>
<date timeline="2" type="exact">
<start iso="2011-12-25T09:00:00+01:00" time="09:00" weekday="7" offset="+0100">2011-12-25</start>
</date>
</date-and-time>
This extension is not a work of a single person, a lot of people tested it and contributed to it. The initial layout of the date widget was inspired by Scott Hughes’ calendar mock-up for Symphony 2.0 and Rowan Lewis’ calendar overlay.