Issue #15940: Specify effect of locale on time functions.
Issue #15940: Replace tab.
Issue #15940: NEWS entry
close search and replace dialog after it is used (closes #17625)
merge 2.7.4 release branch
#8913: add examples and docs for date/time/datetime.__format__.  Patch by Heikki Partanen.