mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Merge branch 'master' of github.com:YunoHost/doc
This commit is contained in:
commit
d6770e0e1c
2 changed files with 4 additions and 4 deletions
4
apps.md
4
apps.md
|
@ -31,8 +31,8 @@ function timeConverter(UNIX_timestamp) {
|
|||
var date = a.getDate();
|
||||
var hour = a.getHours();
|
||||
var min = a.getMinutes();
|
||||
if (hour == 0) { hour = '00'; }
|
||||
if (min == 0) { min = '00'; }
|
||||
if (hour < 10) { hour = '0' + hour; }
|
||||
if (min < 10) { min = '0' + min; }
|
||||
var time = date+' '+month+' '+year+' at '+hour+':'+min;
|
||||
return time;
|
||||
}
|
||||
|
|
|
@ -32,8 +32,8 @@ function timeConverter(UNIX_timestamp) {
|
|||
var date = a.getDate();
|
||||
var hour = a.getHours();
|
||||
var min = a.getMinutes();
|
||||
if (hour == 0) { hour = '00'; }
|
||||
if (min == 0) { min = '00'; }
|
||||
if (hour < 10) { hour = '0' + hour; }
|
||||
if (min < 10) { min = '0' + min; }
|
||||
var time = date+' '+month+' '+year+' at '+hour+':'+min;
|
||||
return time;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue