MODULE: data PLUGIN TYPE: database field MOODLE VERSION: 1.8 and 1.9 PURPOSE: add a new field type -- time AUTHOR: Robert Brenstein CONTACT: rjb@robelko.com DATE: 5 March 2009 DESCRIPTION: When this enhancement is installed, a new field type will become available. The content of that field is hour and minutes of the time of the day. The use and operation of this new field type is similar to that of field type date. INSTALLATION: 1. Drop folder "time" from a folder matching your Moodle version into folder moodle/mod/data/field/ 2. Add new strings to your active langugae packs. Strings for a few languages are provided in the distribution in file strings.txt. NOTE for Moodle 1.9: Time fields can't be used in the search template. Searching for a specific time of the day is basically pointless -- one can simply sort by this field. Searching will make sense once the API of the data module is enhanced to support range searches.