Fixed typo and slightly improved error message when db is missing time zone definitions.

Refs #21432.
Merge pull request #1921 from loic/ticket21432

Fixed typo and slightly improved error message when db is missing time zone definitions.