gray-mueller / gray-mueller/food-delivery-platform-for-restaurants-using-python

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

Open
#706 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

Research direction

Start by reproducing the issue in the admin panel's Notification section and inspect the notification response for the date field and timestamp format. Trace the Date column's formatting from the notification data, then verify that each entry displays a readable timestamp instead of “Invalid Date”.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.