Merge pull request #1494 from kijin/pr/versioning

코어에 포함된 애드온, 모듈, 위젯 등의 버전을 별도로 표기하지 않음
This commit is contained in:
Kijin Sung 2020-12-18 15:08:38 +09:00 committed by GitHub
commit b2c6547cbc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
54 changed files with 156 additions and 109 deletions

View file

@ -39,7 +39,7 @@ class ModuleInfoParser extends BaseParser
$info->version = trim($xml->version);
$info->homepage = trim($xml->homepage);
$info->category = trim($xml->category) ?: 'service';
$info->date = date('Ymd', strtotime($xml->date . 'T12:00:00Z'));
$info->date = ($xml->date === 'RX_CORE') ? '' : date('Ymd', strtotime($xml->date . 'T12:00:00Z'));
$info->license = trim($xml->license);
$info->license_link = trim($xml->license['link']);
$info->author = array();