One-liner fix for issue #773 and new unit tests to exercise that area.
revised: push logic into consumer of Dates.pm
Merge pull request #793 from mnp/master

One-liner fix for issue #773 and new unit tests to exercise that area.