Bonus: @StackOverflow also has a nifty feature whereby pressing enter in an empty search box sends you to a Search page with a handy and clear link to “Advanced Search Tips” (though the screenshot re searching dates above is from a further link to their Help pages).
Screenshot collected from the linked-tweet.
@GitHub does respond to the user action and provide something useful though slightly shaming? (helpful links also provided)
Gmail and Twitter simply ignore the user’s attempt.
(Though perhaps they are actually logging such unexpected behavior to better inform their advertising models…)