fix: ISO format support in markdown component#6943
fix: ISO format support in markdown component#6943
Conversation
WalkthroughThis PR adds support for parsing ISO format timestamps in the Markdown timestamp component alongside existing Unix timestamp support. The component now conditionally treats numeric values as Unix seconds or parses string values as ISO dates using dayjs. Story examples are expanded to demonstrate both timestamp formats. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
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 |
Proposed changes
Issue(s)
https://rocketchat.atlassian.net/browse/CORE-1761
How to test or reproduce
Screenshots
Types of changes
Checklist
Further comments
Summary by CodeRabbit
New Features
Tests
✏️ Tip: You can customize this high-level summary in your review settings.