git ssb

16+

Dominic / patchbay



Tree: 3e002b3d827c2d8867edbf6541a3e6eadc4b32b6

Files: 3e002b3d827c2d8867edbf6541a3e6eadc4b32b6 / modules / timestamp.js

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

Built with git-ssb-web