git ssb

16+

Dominic / patchbay



Tree: d6467d3650ae378a0c0509253c2ab80b74c89e7b

Files: d6467d3650ae378a0c0509253c2ab80b74c89e7b / modules / timestamp.js

181 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