-* autocompleteURL: '', // url for a autocompletion
-* deleteEmptyItems: true, // Deletes items with empty value
-* deletedPostfix: '-d', // will be put to the Items that are marked as delete
-* addedPostfix: '-a', // will be put to the Items that are choosem from the database
-* additionalListClass: '', // put a classname here if the wrapper ul shoud receive a special class
-* allowEdit: true, // Switch on/off edit entries
-* allowDelete: true, // Switch on/off deletion of entries. Will be ignored if allowEdit = false
-* allowAdd: true, // switch on/off the creation of new entries
-* direction: 'ltr' // Sets the writing direction for Outputs and Inputs
-* animSpeed: 500 // Sets the animation speed for effects
-* autocompleteOptions: {}, // Setting Options for the jquery UI Autocomplete (http://jqueryui.com/demos/autocomplete/)
-* breakKeyCodes: [ 13, 44 ], // Sets the characters to break on to parse the tags (defaults: return, comma)
-* checkNewEntriesCaseSensitive: false, // If there is a new Entry, it is checked against the autocompletion list. This Flag controlls if the check is (in-)casesensitive
-* texts: { // some texts
-* removeLinkTitle: 'Remove from list.',
-* saveEditLinkTitle: 'Save changes.',
-* deleteLinkTitle: 'Delete this tag from database.',
-* deleteConfirmation: 'Are you sure to delete this entry?',
-* deletedElementTitle: 'This Element will be deleted.',
// try to be smart and extract date from raw input
if ($rec['raw']) {
foreach (array('today','tomorrow','sunday','monday','tuesday','wednesday','thursday','friday','saturday','sun','mon','tue','wed','thu','fri','sat') as $word) {