Add state module for timezone

Also weaseled in a locale fix.