mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
fix(news): use correct date for posts
This commit is contained in:
@@ -100,7 +100,7 @@ export default {
|
||||
},
|
||||
getPostDate (post) {
|
||||
const format = this.user ? this.user.preferences.dateFormat.toUpperCase() : 'MM/DD/yyyy';
|
||||
return moment(post.publishedDate).format(format);
|
||||
return moment(post.publishDate).format(format);
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user