Better moment dates

This commit is contained in:
Daniel Odendahl Jr
2017-05-21 15:34:42 +00:00
parent 9c10dcd9aa
commit 986adf1926
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -37,9 +37,9 @@ module.exports = class GithubCommand extends Command {
.setDescription(body.description)
.setThumbnail(body.owner.avatar_url)
.addField('Creation Date',
moment(body.created_at).format('MMMM Do YYYY h:mm:ss A'), true)
moment(body.created_at).format('MMMM Do YYYY'), true)
.addField('Last Updated On',
moment(body.created_at).format('MMMM Do YYYY h:mm:ss A'), true)
moment(body.created_at).format('MMMM Do YYYY'), true)
.addField('Stargazers',
body.stargazers_count, true)
.addField('Watchers',