Show correct achievement earned dates on user page

fixes #2524
This commit is contained in:
David Liu 2015-06-14 15:25:11 -07:00
parent f7eaf91bae
commit 1c633a8ee4

View file

@ -160,7 +160,7 @@ block append content
each achievement, index in earnedAchievements.models
tr(class=index > 4 ? 'hide' : '')
td= achievement.get('achievementName')
td= moment().format("MMMM Do YYYY", achievement.get('changed'))
td= moment(achievement.get('changed')).format("MMMM Do YYYY")
if achievement.get('achievedAmount')
td= achievement.get('achievedAmount')
else