Datetime: Difference between revisions
Appearance
→links: * http://www.php.net/strftime * http://www.php.net/date |
→selection: * cond: (ds < es AND es < de) OR (ds < ee AND ee < de) |
||
Line 3: | Line 3: | ||
==selection== | ==selection== | ||
* ds display start | |||
* de display end | |||
* es event start | |||
* ee event end | |||
* cond: (ds < es AND es < de) OR (ds < ee AND ee < de) | |||
by examples | by examples | ||
* 2008 -> show all events with dtstart<2008-12-31T23:59:59 | * 2008 -> show all events with dtstart<2008-12-31T23:59:59 |
Revision as of 2008-12-08T12:33:59
tango.info uses ISO 8601 for date and time representation.
selection
- ds display start
- de display end
- es event start
- ee event end
- cond: (ds < es AND es < de) OR (ds < ee AND ee < de)
by examples
- 2008 -> show all events with dtstart<2008-12-31T23:59:59
request | dtstart | dtend |
---|---|---|
2008 | <2008-12-31T23:59:59 | >2008-01-01T00:00:00 |
2008-12 | <2008-12-31T23:59:59 | >2008-12-01T00:00:00 |
2008-12-31 | <2008-12-31T23:59:59 | >2008-12-31T00:00:00 |
single events
- implemented, see add event
repeated events
not implemented in the wiki.
tango.info internally uses numeric identifiers from 1 to 9 to mark repetition.
- thursday-1 : each first thursday of a month
- thursday-2 : each first thursday of a month
- thursday-3 : each first thursday of a month
- thursday-4 : each first thursday of a month
- thursday-5 : each fifth thursday of a month (if existend)
- thursday-6 : each thursday in an even week of the year (ISO week number)
- thursday-7 : each thursday in an odd week of the year (ISO week number)
- thursday-8 : each thursday
- thursday-9 : each last thursday of a month (4th or 5th)
- other:
- every other week (can be 6 in one year and 7 in the next.)
todo
how is repetition handled