diff --git a/js/mod/ban-list.js b/js/mod/ban-list.js index 415934b1..07a042c9 100644 --- a/js/mod/ban-list.js +++ b/js/mod/ban-list.js @@ -60,8 +60,8 @@ var banlist_init = function(token, my_boards, inMod) { // duration? expires: {name: _("Expires"), width: "235px", fmt: function(f) { if (!f.expires || f.expires == 0) return ""+_("never")+""; - return strftime(window.post_date, new Date((f.expires|0)*1000), datelocale) + - ((f.expires < time()) ? "" : " "+_("in ")+until(f.expires|0)+""); + var formattedDate = strftime("%m/%d/%Y (%a) %H:%M:%S", new Date((f.expires|0)*1000), datelocale); + return formattedDate + ((f.expires < time()) ? "" : " "+_("in ")+until(f.expires|0)+""); } }, username: {name: _("Staff"), width: "100px", fmt: function(f) { var pre='',suf='',un=f.username;