Add more tests for the DateTimePatternGenerator

There are unexpected results in some cases, with the clock switching to
12 hours format even though the locale is set to use 24 hours.
DateTimeFormat: set the locale to the pattern generator.

Unfortunately this isn't enough to fix the bug shown by the test just
added.