Update quarantine.js (#3767)
* Update quarantine.js changed created formatter like in site/user.js, site/mailbox.js & site/admin.js to get month and day in 2-ditgit format * Update debug.js changed created formatter like in site/user.js, site/mailbox.js & site/admin.js to get month and day in 2-ditgit format * Update debug.js missed two old toLocaleString()
This commit is contained in:
@@ -56,7 +56,7 @@ jQuery(function($){
|
||||
{"name":"virus","title":lang.danger, "type": "text"},
|
||||
{"name":"score","title": lang.spam_score, "type": "text"},
|
||||
{"name":"notified","title":lang.notified, "type": "text"},
|
||||
{"name":"created","formatter":function unix_time_format(tm) { var date = new Date(tm ? tm * 1000 : 0); return date.toLocaleString();},"title":lang.received,"style":{"width":"170px"}},
|
||||
{"name":"created","formatter":function unix_time_format(tm) { var date = new Date(tm ? tm * 1000 : 0); return date.toLocaleDateString(undefined, {year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit"});},"title":lang.received,"style":{"width":"170px"}},
|
||||
{"name":"action","filterable": false,"sortable": false,"style":{"text-align":"right"},"style":{"min-width":"200px"},"type":"html","title":lang.action,"breakpoints":"xs sm md"}
|
||||
],
|
||||
"rows": $.ajax({
|
||||
|
Reference in New Issue
Block a user