format = $format; parent::__construct($propertyName ?: 'date'); } /** * @inheritDoc */ protected function doDescribe($previousValue, $currentValue) { return JText::sprintf( 'VBO_HISTORY_TRACKER_DATE_CHANGED', JHtml::fetch('date', $previousValue, $this->format), JHtml::fetch('date', $currentValue, $this->format) ); } /** * @inheritDoc */ public function getIcon() { return VikBookingIcons::i('calendar-day'); } }