support one-day input by ‘:after’ & ‘:before’

when you inputted same day into ‘:after’ & ‘:before’, it treats as if you inputted into ‘:on’.