change timezone to hidden field with default for now

This commit is contained in:
Kenneth Kehl
2024-03-19 13:30:50 -07:00
parent 197ef11075
commit c053cc7402
3 changed files with 6 additions and 10 deletions

View File

@@ -610,6 +610,8 @@ class SetupUserProfileForm(StripWhitespaceForm):
"Full name", validators=[DataRequired(message="Cannot be empty")]
)
mobile_number = international_phone_number()
# TODO This should be replaced with a select widget when one is available.
preferred_timezone = HiddenField("preferred_timezone", default="US/Eastern")
class RegisterUserFromInviteForm(RegisterUserForm):