[et] short date

This commit is contained in:
Shish 2024-01-06 20:45:32 +00:00
parent e57264fd95
commit ebbcc9fab5

View file

@ -65,7 +65,7 @@ class ET extends Extension
$ver = VERSION; $ver = VERSION;
if(defined("BUILD_TIME")) { if(defined("BUILD_TIME")) {
$ver .= "-" . substr(constant("BUILD_TIME"), 0, 10); $ver .= "-" . substr(str_replace("-", "", constant("BUILD_TIME")), 0, 8);
} }
if(defined("BUILD_HASH")) { if(defined("BUILD_HASH")) {
$ver .= "-" . substr(constant("BUILD_HASH"), 0, 7); $ver .= "-" . substr(constant("BUILD_HASH"), 0, 7);