Instead of supplying a range I suggest adding 2 text lines:
- posts created on or after
- posts created on or before.
This way you can leave one of both empty instead of always typing a full range and you avoid the difficulties on how to recognize the way the user separated two dates.
Input recognition can be copied from searching a user's registration date
, which already wants
. Adding time recognition is no problem aswell.
From my experiences I suggest adding two radiobuttons aswell:
- interpret date relative to the timezone as in my settings (pre-selected; best would be to also print the current setting aswell)
- interpret date in UTC / GMT
...as still a lot of people either don't know about timezones or aren't aware of their settings and these options should at least ring a bell on how vague their input can be.
Also the search should then expect both keyword and author inputs to be empty, while now one of both is mandatory.
My current implementation looks like this: