The max digits for years are 6 instead of 4 at https://search.pullpush.io/, so it does a fifth and sixth digit before continuing to the time input. Also maybe make it a 2 digit input starting at 2000 , since reddit was not around before 2005, unless maybe there are some date incongruities with reddit/pushshift/pullpush api