gray-mueller / gray-mueller/home-delivery-app-using-node-js

“Invalid Date” Displayed in Date Column of Notification Tab – Admin Panel

Open
#714 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
In the admin panel, under the Notification tab, the Date column is displaying “Invalid Date” for all notifications. This prevents admins from tracking when notifications were sent or received.

To Reproduce
Steps to reproduce the behavior:

Log in to the admin panel
Navigate to the Notification section
Look at the Date column for any entry
Observe that it shows “Invalid Date”
Expected behavior
The Date column should display a properly formatted timestamp (e.g., “25 June 2025, 10:45 AM”) for each notification.

Image

Desktop (please complete the following information):

OS: Windows 11

Browser: Chrome

Version: 123.0.6312.86

Additional context
This is likely caused by a date formatting issue, possibly due to a malformed timestamp or missing date field in the response data. It should be corrected to ensure accurate tracking and review of notifications.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.