django-bootstrap-daterangepicker
django-bootstrap-daterangepicker copied to clipboard
Format the value for the form when there is a single date
Currently we don't format single dates only date ranges!
A test for this would be great! Otherwise LGTM!
Completely agree @jckw however sadly I don't have time at the moment to setup tests for the widgets (none of them have any!).
Side ramble: I looked in the test folder when making the change to see if there was a widget test I could base my test off and just tweak to validate my changes and didn't find any widget tests (and also looking at the tests reminded me I wrote all of the existing tests 🙈)