Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Allow years lower than 1970 in DateTime component. (#13602)
## Description Fixes: #13579 This PR changes the DateTime component to allow years between 0 and 1970 that were previously unallowed. The classic editor allows this set of years so we are updating the component to be equivalent. Years lower than 0 and greater than 9999 are not allowed because JS error happens inside moment functions if these years are used. The classic editor and the quick edit form also don't allow this set of years. ## How has this been tested? I checked I'm able to use years between 0 and 1970 on the publish date field with success
- Loading branch information