User: jpetso Branch: HEAD Date: Mon, 28 Apr 2008 19:43:32 +0000 Modified files: /modules/duration duration.inc duration_api.module duration_element.module Log message: More refactoring, including but not restricted to: - Usage of '#tree', in order to get rid of the bad element name hack. - More robust validation and tracking of the element state. - formatISO() is now toISO(), as that's consistent with toArray() and toSingleMetric(), naming-wise. - Plus, make toISO() work at all by returning the result string :P Links: http://cvs.drupal.org/diff.php?path=contributions/modules/duration/duration.... http://cvs.drupal.org/diff.php?path=contributions/modules/duration/duration_... http://cvs.drupal.org/diff.php?path=contributions/modules/duration/duration_...