Commit 70e41235e3a95b27386e99fd841687b2b5588964
Fix git initial date rendering
Fix %R6NzsmqzhwLpwIzi66CjCYhVuG552h1o33g8tQkubcU=.sha256Charles Lehner committed on 8/3/2016, 10:29:52 PM
Parent: 77ca943d1889e9ed48ffceb25d8de3f1b5998515
Files changed
modules/git.js | changed |
modules/git.js | ||
---|---|---|
@@ -49,13 +49,14 @@ | ||
49 | 49 | } |
50 | 50 | |
51 | 51 | //todo: |
52 | 52 | function messageTimestampLink(msg) { |
53 | + var date = new Date(msg.value.timestamp) | |
53 | 54 | return h('a.timestamp', { |
54 | 55 | timestamp: msg.value.timestamp, |
55 | - title: new Date(msg.value.timestamp), | |
56 | + title: date, | |
56 | 57 | href: '#'+msg.key |
57 | - }, human(msg.value.timestamp)) | |
58 | + }, human(date) | |
58 | 59 | } |
59 | 60 | |
60 | 61 | // a thead+tbody where the thead only is added when the first row is added |
61 | 62 | function tableRows(headerRow) { |
Built with git-ssb-web