We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8b287f commit 7f29a3dCopy full SHA for 7f29a3d
src/views/Posts.vue
@@ -811,7 +811,7 @@ export default {
811
.catch(() => $alertStore.error('Error changing thread title'))
812
}
813
const createPoll = () => console.log('createPoll')
814
- const showEditDate = (post) => (new Date(post.created_at) < new Date(post.updated_at))
+ const showEditDate = (post) => dayjs(post.updated_at).isAfter(dayjs(post.created_at))
815
const openPostsPurgePostModal = (post, postIndex) => {
816
v.selectedPost = post
817
v.selectedPostIndex = postIndex
0 commit comments