14use Wikimedia\Timestamp\TimestampFormat as TS;
87 return intval( $this->row->$field );
95 return $this->list->getLanguage()->userDate( $this->
getTimestamp(),
96 $this->list->getUser() );
104 return $this->list->getLanguage()->userTime( $this->
getTimestamp(),
105 $this->list->getUser() );
123 return intval( $this->row->$field );
132 return strval( $this->row->$field );
142 return strval( $this->row->$field );
173class_alias( RevisionItemBase::class,
'RevisionItemBase' );
wfTimestamp( $outputtype=TS::UNIX, $ts=0)
Get a timestamp string in one of various formats.