fix(blog): format published date in blog post list card#1891
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review infoConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe change modifies the BlogPostListCard.vue component to use a DateTime component for displaying the published date instead of rendering it as a raw string. This updates the rendering logic within the header line while maintaining the surrounding structure and draft badge behavior. The modification introduces 3 lines and removes 1 line of code. 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs). Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
🔗 Linked issue
resolves #1889
🧭 Context
The date format in the blog listing can be improved and may be localised.
📚 Description
Use the
DateTimecomponent to format the published date in the blog post list card, consistent with the blog post page.