A mi mówi, że ktoś się opuścił z OOP. :wyglad:
Metoda getDate:
/**
* Generate Human formatted date string
* Return a date or '--' if the date is undef.
* We use the rather nice gmdate function in PHP to synchronise our times
* with GMT. This gives us the following choices:
* If the user has specified a time offset, we use that. If they haven't set
* a time zone, we use the default board time offset (which should automagically
* be adjusted to match gmdate.
*
* @access public
* @param integer Unix date
* @param method LONG, SHORT, JOINED, TINY
* @param integer Do not use relative dates
* @param integer Use fully relative dates
* @return string Parsed time
* @since 2.0
*/
public function getDate($date, $method, $norelative=0, $full_relative=0)
{
A to o czym piszesz to atrybut time_options.