web/lib/GitCommit.php
2018-12-29 16:02:00 -06:00

11 lines
233 B
PHP

<?
class GitCommit{
public $Timestamp;
public $Message;
public function __construct(string $unixTimestamp, string $message){
$this->Timestamp = new \DateTimeImmutable('@' . $unixTimestamp);
$this->Message = $message;
}
}
?>