git ssb

16+

Dominic / patchbay



Tree: ae7c2d638a47d2b374cec6c88e45d20c4290fe33

Files: ae7c2d638a47d2b374cec6c88e45d20c4290fe33 / 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