marthaegrimaldi / marthaegrimaldi/restaurant-ordering-platform-with-source-code

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

Open
#72 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
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 locating the admin panel's Notification tab and the renderer for its Date column. Inspect the notification response data and the existing date-formatting path to determine why entries become “Invalid Date.” Done means each notification shows a properly formatted timestamp, including the example date format, in Chrome on the notification list.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
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.