Don't crash if Region Format is not a US-based format or if Calendar setting is not Gregorian.
Support portrait orientation (kinda).