git ssb

16+

Dominic / patchbay



Tree: c9b2708a2c9961e39c5c2370d526d929215013df

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