Add support for %U and %W to contribute to calculating the date when the year
and day of the week are specified.

Closes bug #1045381.
4 files changed