mirror of
https://github.com/newnius/YAO-portal.git
synced 2025-06-06 07:11:54 +00:00
update
This commit is contained in:
parent
20b92071e1
commit
0fa136bb3b
@ -4,7 +4,7 @@ function timeFormatter(unixTimestamp) {
|
||||
}
|
||||
var d = new Date(unixTimestamp * 1000);
|
||||
d.setTime(d.getTime() - d.getTimezoneOffset() * 60 * 1000);
|
||||
return formatDate(d, '%Y-%M-%d %H:%m');
|
||||
return formatDate(d, '%Y-%M-%d %H:%m:%s');
|
||||
}
|
||||
|
||||
function formatDate(date, fmt) {
|
||||
|
Loading…
Reference in New Issue
Block a user