fix: Enatega Admin Dashboard: Notification date displays incorrect random num... - #2288
Conversation
👷 Deploy request for cheery-zabaione-34f12e pending review.Visit the deploys page to approve it
|
👷 Deploy request for web-loyalty-referral pending review.Visit the deploys page to approve it
|
👷 Deploy request for enatega-food-delivery pending review.Visit the deploys page to approve it
|
👷 Deploy request for enatega-saas-demo pending review.Visit the deploys page to approve it
|
|
@Roshan931 is attempting to deploy a commit to the NinjasCode Team on Vercel. A member of the Team first needs to authorize it. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 4 included reviews per hour; 2 remain after this review. WalkthroughThe notification date column now uses Merge Risk: ⚪ Minimal · up to This localized change formats notification dates instead of displaying raw timestamps; no actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID: d4e4bdac-8e21-4cee-82b4-20446c3bdac1
📒 Files selected for processing (1)
enatega-multivendor-admin/lib/ui/useable-components/table/columns/notification-columns.tsx
Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review.
Fixes #1994
Root cause
Raw epoch timestamp rendered as notification Date column
Changes
createdAtvalue before rendering in the Date column, converting epoch-millisecond strings (and ISO strings) into a localizeddd Mon yyyy, HH:mmdisplay with a placeholder for missing/invalid values, matching the existing date formatting pattern used in user-columns.tsx.