Certain posts with invalid date in the cards can crash Phanpy
- Dominant language
- JavaScript
- Stars
- 1.5k
- Forks
- 186
- Avg merge
- 1d 36m
- Merged PRs (30d)
- 11
Description
**Describe the bug**
A clear and concise description of what the bug is.
- Which site: phanpy.social and dev.phanpy.social
- Which site version:
- Which instance: mstdn.social
**To Reproduce**
Steps to reproduce the behaviour:
1. Attempt to resolve `https://social.coop/users/00Aaron/statuses/112292238988205731`
2. Notice the post never loads
3. Notice the page is not responsible anymore
This can also happen when you are just scrolling the federated feed and accidentally stumble upon this post. Theoretically I can boost it and anyone who follows me and uses Phanpy will have it crash 🤭
**Expected behavior**
Post would load and show Invalid Date like Mastodon does. Or maybe not show the date at all.
**Screenshots**
N/A
**Desktop (please complete the following information):**
- OS: Windows
- Browser: Firefox
- Version: 125.0.1
**Additional context**
This post has a card which is published at `-0001-11-30T00:00:00.000Z` 🫡
[source](https://mstdn.social/api/v1/statuses/112292239375732222)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.