code: function( text ) {
  			var out = text,
  				times = [];
  
  			// if the string has a text : or am or pm
  			if(modules.utils.isString(out)) {
  				//text = text.toLowerCase();
  				text = text.replace(/[ ]+/g, '');
  
  				if(text.match(':') || this.hasAM(text) || this.hasPM(text)) {
  
  					if(text.match(':')) {
  						times = text.split(':');
  					} else {
  						// single number text i.e. 5pm
  						times[0] = text;
  						times[0] = this.removeAMPM(times[0]);
  					}
  
  					// change pm hours to 24hr number
  					if(this.hasPM(text)) {
  						if(times[0] < 12) {
  							times[0] = parseInt(times[0], 10) + 12;
  						}
  					}
  
  					// add leading zero's where needed
  					if(times[0] && times[0].length === 1) {
  						times[0] = '0' + times[0];
  					}
  
  					// rejoin text elements together
  					if(times[0]) {
  						text = times.join(':');
  					}
  				}
  			}
  
  			// remove am/pm strings
  			return this.removeAMPM(text);
  		}
docs: parses a time from text and returns 24hr time string
  i.e. 5:34am = 05:34:00 and 1:52:04p.m. = 13:52:04
  
  @param  {String} text
  @return {String}