django-bootstrap-daterangepicker icon indicating copy to clipboard operation
django-bootstrap-daterangepicker copied to clipboard

Format the value for the form when there is a single date

Open intiocean opened this issue 6 years ago • 2 comments

Currently we don't format single dates only date ranges!

intiocean avatar Oct 16 '19 15:10 intiocean

A test for this would be great! Otherwise LGTM!

jckw avatar Oct 16 '19 16:10 jckw

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 🙈)

intiocean avatar Oct 17 '19 07:10 intiocean