bug fix for issue 5797
Merge pull request #5806 from MichaelWS/master

BUG: Series replace values using timestamps in a dict GH5797