Closed publicqi closed 1 year ago
This PR fix the CommonsForm default input date cut off issue so that edit commons page can correctly render date.
The cause to the issue is that if there's a passed in commons, the date can be in ISO long format. We need to convert it to YYYY-MM-DD.
npm test
npm run coverage
npx stryker run
npx eslint --fix src
Closes #10
Overview
This PR fix the CommonsForm default input date cut off issue so that edit commons page can correctly render date.
The cause to the issue is that if there's a passed in commons, the date can be in ISO long format. We need to convert it to YYYY-MM-DD.
Screenshots (Optional)
Feedback Request (Optional)
Future Possibilities (Optional)
Validation (Optional)
Tests
npm test
) passnpm run coverage
) 100%npx stryker run
) 100%npx eslint --fix src
)Linked Issues
Closes #10