/** * Formats dates according to configuration settings in the ini file. * * @param string $type Name of the format, as defined in the ini file. * The ini value can be in either format. * @param string $date MySQL datetime string * @return string */ public function format($type, $date) { return Garp_DateTime::formatFromConfig($type, $date); }