E501
For the complete documentation index optimized for AI agents, see llms.txt.
Invalid Date
Example
This error occurs when you provide a date value that cannot be parsed or is in an invalid format.
In this example, the date value is invalid and cannot be parsed.
Query addEvent() =>
AddN<Event>({date: "2023-99-99"})
N::Event {
date: Date,
}
Solution
Ensure the date value is in the correct format.
Query addEvent() =>
AddN<Event>({date: "2023-01-01"})