collective / collective.volto.formsupport

Enable support for customizable forms in Volto
GNU General Public License v2.0
2 stars 8 forks source link

Added ISO formatted strings being allowed as date inputs #34

Closed JeffersonBledsoe closed 4 days ago

JeffersonBledsoe commented 1 year ago

This PR is the start of using full ISO 8601 datetime strings for all submissions of dates and using the backend to friendly-format them in the sent emails. A PR to volto-form-block needs to be made removing the formatting of dates client-side and sending them as ISO-compliant strings for this to be an effective PR.

JeffersonBledsoe commented 1 year ago

@cekk @pnicolli Any thoughts on this? We had a client comment on being able to use the CSV and XML data of submission in external system with full timezone strings, but still be able to nicely read the dates in any emails that are sent

coveralls commented 7 months ago

Pull Request Test Coverage Report for Build 7991976848

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/collective/volto/formsupport/restapi/services/submit_form/post.py 10 11 90.91%
<!-- Total: 10 11 90.91% -->
Totals Coverage Status
Change from base Build 7919988301: 0.02%
Covered Lines: 678
Relevant Lines: 756

💛 - Coveralls
mamico commented 7 months ago

@JeffersonBledsoe now the tests are green here, but your changes don't seem to be covered by the tests image