git ssb

16+

Dominic / patchbay



Tree: 1ed42bd9f36becb191c331ca40892cc3262c8e08

Files: 1ed42bd9f36becb191c331ca40892cc3262c8e08 / modules / timestamp.js

182 bytesRaw
1var h = require('hyperscript')
2var moment = require('moment')
3
4exports.message_meta = function (msg) {
5 return h('a', {href: '#/'+msg.key}, moment(msg.value.timestamp).fromNow())
6}
7

Built with git-ssb-web