Fix expiration date at view user
This commit is contained in:
parent
d51edefc10
commit
cad57760bd
@ -42,6 +42,11 @@ class Lang
|
||||
return date($config['date_format']. ' H:i', strtotime($date));
|
||||
}
|
||||
|
||||
public static function dateAndTimeFormat($date, $time){
|
||||
global $config;
|
||||
return date($config['date_format']. ' H:i', strtotime("$date $time"));
|
||||
}
|
||||
|
||||
public static function nl2br($text){
|
||||
return nl2br($text);
|
||||
}
|
||||
|
@ -77,7 +77,7 @@
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
{$_L['Expires_On']} <span
|
||||
class="pull-right">{Lang::dateTimeFormat($package['expiration']+' '+$package['time'])}</span>
|
||||
class="pull-right">{Lang::dateAndTimeFormat($package['expiration'], $package['time'])}</span>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
{$package['routers']} <span class="pull-right">{$package['method']}</span>
|
||||
|
Loading…
x
Reference in New Issue
Block a user