Format better

This commit is contained in:
Daniel Odendahl Jr
2018-09-20 17:21:42 +00:00
parent 78c51d5898
commit 022121df2b
19 changed files with 26 additions and 30 deletions
+2 -2
View File
@@ -41,8 +41,8 @@ module.exports = class NPMCommand extends Command {
.addField(' Version', body['dist-tags'].latest, true)
.addField(' License', body.license || 'None', true)
.addField(' Author', body.author ? body.author.name : '???', true)
.addField(' Creation Date', moment.utc(body.time.created).format('MMM Do, YYYY [at] hh:mm:ss A'), true)
.addField(' Modification Date', moment.utc(body.time.modified).format('MMM Do, YYYY [at] hh:mm:ss A'), true)
.addField(' Creation Date', moment.utc(body.time.created).format('MM/DD/YYYY @ hh:mm:ss A'), true)
.addField(' Modification Date', moment.utc(body.time.modified).format('MM/DD/YYYY @ hh:mm:ss A'), true)
.addField(' Main File', version.main || 'index.js', true)
.addField(' Dependencies', dependencies && dependencies.length ? dependencies.join(', ') : 'None')
.addField(' Maintainers', maintainers.join(', '));