gray-mueller / gray-mueller/food-delivery-clone-app-using-react

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

Open
#99 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the admin panel's Notification section and trace the Date column to the notification response data. Check whether the timestamp or date field is missing or malformed, then verify that each entry displays a readable timestamp such as the expected format.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.