mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[enh] Display date with hour for app install time
This commit is contained in:
parent
a71b6d4a88
commit
becae1963c
2 changed files with 2 additions and 5 deletions
|
@ -144,10 +144,7 @@
|
|||
|
||||
// Multi Instance settings
|
||||
data.manifest.multi_instance = data.manifest.multi_instance ? y18n.t('yes') : y18n.t('no');
|
||||
|
||||
// Installation date
|
||||
var d = new Date(data.settings.install_time * 1000);
|
||||
data.install_time = d.getDate() + '/' + (d.getMonth()+1) + '/' + d.getFullYear();
|
||||
data.install_time = new Date(data.settings.install_time * 1000);
|
||||
|
||||
c.view('app/app_info', data);
|
||||
});
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
<dt>{{t 'multi_instance'}}</dt>
|
||||
<dd>{{manifest.multi_instance}}</dd>
|
||||
<dt>{{t 'install_time'}}</dt>
|
||||
<dd>{{install_time}}</dd>
|
||||
<dd>{{formatTime install_time day="numeric" month="long" year="numeric" hour="numeric" minute="numeric"}}</dd>
|
||||
<dt>{{t 'url'}}</dt>
|
||||
<dd><a href="https://{{settings.domain}}{{settings.path}}" target="_blank">https://{{settings.domain}}{{settings.path}}</a></dd>
|
||||
</dl>
|
||||
|
|
Loading…
Reference in a new issue