Make all addons, modules, and widgets follow RX_VERSION

This commit is contained in:
Kijin Sung 2020-12-18 00:20:33 +09:00
parent aef258e48a
commit 0b265cde21
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();