gray-mueller / gray-mueller/food-delivering-app-using-react-native
“Invalid Date” Displayed in Date Column of Notification Tab – Admin Panel
- 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
Research direction
Start by reproducing the issue in the admin panel's Notification tab and inspect the notification response for the date field and its format. Trace where the Date column renders that value; done when each notification shows a valid, properly formatted timestamp instead of “Invalid Date”.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100