web/lib/GitCommit.php
2019-04-03 16:25:00 -05:00

10 lines
230 B
PHP

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