Fixed minor issue with date tweaking.

refs #4753