Fixed #21161 -- Timezone-related tests on Windows.

Thanks Xelnor for the patch.