Skip to content

fix: Enatega Admin Dashboard: Notification date displays incorrect random num... - #2288

Open
Roshan931 wants to merge 2 commits into
enatega:mainfrom
Roshan931:prilog/fix-error-raw-epoch-timestamp-rendered-as-08-22-2026-768155
Open

fix: Enatega Admin Dashboard: Notification date displays incorrect random num...#2288
Roshan931 wants to merge 2 commits into
enatega:mainfrom
Roshan931:prilog/fix-error-raw-epoch-timestamp-rendered-as-08-22-2026-768155

Conversation

@Roshan931

Copy link
Copy Markdown

Fixes #1994

Root cause

Raw epoch timestamp rendered as notification Date column

Changes

  • Format the notification createdAt value before rendering in the Date column, converting epoch-millisecond strings (and ISO strings) into a localized dd Mon yyyy, HH:mm display with a placeholder for missing/invalid values, matching the existing date formatting pattern used in user-columns.tsx.

@netlify

netlify Bot commented Aug 22, 2026

Copy link
Copy Markdown

👷 Deploy request for cheery-zabaione-34f12e pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 88e30cf

@netlify

netlify Bot commented Aug 22, 2026

Copy link
Copy Markdown

👷 Deploy request for web-loyalty-referral pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 88e30cf

@netlify

netlify Bot commented Aug 22, 2026

Copy link
Copy Markdown

👷 Deploy request for enatega-food-delivery pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 88e30cf

@netlify

netlify Bot commented Aug 22, 2026

Copy link
Copy Markdown

👷 Deploy request for enatega-saas-demo pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 88e30cf

@vercel

vercel Bot commented Aug 22, 2026

Copy link
Copy Markdown

@Roshan931 is attempting to deploy a commit to the NinjasCode Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 61f39054-d373-4287-8d2e-378722f90d3f

📥 Commits

Reviewing files that changed from the base of the PR and between 4057af9 and 88e30cf.

📒 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; 2 remain after this review.


Walkthrough

The notification date column now uses formatNotificationDate to parse numeric or string timestamps. Missing and invalid values display an em dash. Valid timestamps display the day, month, year, and time in DD Mon YYYY, HH:MM format.

Merge Risk: ⚪ Minimal · up to 88e30

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)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the notification date display defect addressed by the pull request.
Description check ✅ Passed The description explains the root cause and the date-formatting changes related to the notification date defect.
Linked Issues check ✅ Passed The changes format notification createdAt values and directly address issue #1994.
Out of Scope Changes check ✅ Passed The pull request changes only the notification date column and contains no unrelated code changes.
Docstring Coverage ✅ Passed Docstring check was indeterminate for this PR — some files could not be analyzed in time. Not blocking.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

📥 Commits

Reviewing files that changed from the base of the PR and between 5eb812a and 4057af9.

📒 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enatega Admin Dashboard: Notification date displays incorrect random number on Notifications page

1 participant