Andy Baugh 6 年之前
父節點
當前提交
e5c46f822a
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      notification-center/notification-center.tt

+ 1 - 3
notification-center/notification-center.tt

@@ -17,9 +17,7 @@
 -%]
 [% PROCESS '_pkg_hover.tmpl' -%]
 [% PROCESS '_ajaxapp_header.tmpl' -%]
-<style>
 
-</style>
 <table class="table table-striped responsive-table" border="1" cellspacing="0" cellpadding="2" >
     <thead>
         <tr>
@@ -51,7 +49,7 @@
     window.onload = function () {
         var timestamps = document.querySelectorAll('.timestamp');
         for (var i=0; i < timestamps.length; i++) {
-            var timestamp = timestamps[i];
+            var timestamp = timestamps[i].innerText.replace('/','');
             var t = new Date(0)
             t.setUTCSeconds(timestamp);
             timestamps[i].innerText = t.toLocaleDateString() + " " + t.toLocaleTimeString();