ソースを参照

Merge branch 'dev/v4.8.30_zxl' of qmx/jy into feature/v4.8.30

zhangxinlei1996 2 年 前
コミット
f61cb13c67
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/web/staticres/tags/js/no-login-detail.js

+ 1 - 1
src/web/staticres/tags/js/no-login-detail.js

@@ -766,7 +766,7 @@ $(function(){
   $(".otherinfo .com-time").each(function(){
     var thisValue = $(this).attr("data-value");
     if(thisValue != "" && thisValue != "0" && thisValue != 0){
-      var diff = formatTimestamp(Number(thisValue));
+      var diff = new Date(parseInt(thisValue*1000)).pattern('yyyy-MM-dd');
       if(diff != null){
         $(this).text(diff);
       }