Changeset 60555 in spip-zone
- Timestamp:
- Apr 22, 2012, 4:26:41 PM (9 years ago)
- Location:
- _plugins_/icalendar
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/icalendar/inc/ics_to_array.php
r43491 r60555 24 24 # noter les dates cles dans un format plus facile a recuperer 25 25 foreach($cal->components as $k => &$v) { 26 26 27 foreach(array('dtstart', 'dtend', 'dtstamp', 'lastmodified', 'created') 27 28 as $champ) { 28 if (isset($v->$champ) ) {29 $w = &$v->$champ;30 $date = $table_valeur($w, "/value");29 if (isset($v->$champ) 30 AND $w = &$v->$champ 31 AND $date = $table_valeur($w, "value")) { 31 32 $w['str'] = sprintf('%04d-%02d-%02d %02d:%02d:%02d', 32 33 $date['year'], -
_plugins_/icalendar/plugin.xml
r52604 r60555 3 3 <auteur>Fil</auteur> 4 4 <licence>GNU/GPL - (c) 2010-2011</licence> 5 <version>0.2. 0</version>5 <version>0.2.1</version> 6 6 <etat>dev</etat> 7 7 <description>Faire des boucles iCalendar (format ics)</description>
Note: See TracChangeset
for help on using the changeset viewer.