diff --git a/src/js/yunohost/controllers/apps.js b/src/js/yunohost/controllers/apps.js index b1fe4cab..875fa5e2 100644 --- a/src/js/yunohost/controllers/apps.js +++ b/src/js/yunohost/controllers/apps.js @@ -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); }); diff --git a/src/views/app/app_info.ms b/src/views/app/app_info.ms index eaa784b2..4df1e3dc 100644 --- a/src/views/app/app_info.ms +++ b/src/views/app/app_info.ms @@ -22,7 +22,7 @@
{{t 'multi_instance'}}
{{manifest.multi_instance}}
{{t 'install_time'}}
-
{{install_time}}
+
{{formatTime install_time day="numeric" month="long" year="numeric" hour="numeric" minute="numeric"}}
{{t 'url'}}
https://{{settings.domain}}{{settings.path}}