Jump to content

Datetime: Difference between revisions

From tango.info wiki
New page: category:data tango.info uses ISO 8601 for date and time representation. Events can be repeated.
 
m moved datetime to Datetime
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[category:data]]
[[Category:Data]]
tango.info uses [[ISO 8601]] for date and time representation.
tango.info uses [[ISO 8601]] for date and time representation.


Events can be repeated.
==selection==
* ds display start
* de display end
* es event start
* ee event end
* cond:
** FALSE
** OR (ds <= es AND es < de) //es within display
** OR (ds < ee AND ee <= de) //ee within display
** OR (ds >= es AND ee >=de) //display within event
 
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 yet implemented in the wiki.
 
[[tango.info weekday repetition]] assigns numbers 1 to 9 to common repetitions
 
==todo==
how is repetition handled
*in [[iCal]]
*by [[ISO 8601]]
== Links ==
* http://www.php.net/strftime
* http://www.php.net/date

Latest revision as of 2013-06-12T19:14:10

tango.info uses ISO 8601 for date and time representation.

selection

  • ds display start
  • de display end
  • es event start
  • ee event end
  • cond:
    • FALSE
    • OR (ds <= es AND es < de) //es within display
    • OR (ds < ee AND ee <= de) //ee within display
    • OR (ds >= es AND ee >=de) //display within event

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

repeated events

not yet implemented in the wiki.

tango.info weekday repetition assigns numbers 1 to 9 to common repetitions

todo

how is repetition handled

Links