What version are you running?
1.7.6 reviewboard server
What's the URL of the page containing the problem?
REVIEWBOARD_SERVER/account/preferences/
What steps will reproduce the problem?
1. change default timezone to America/Indiana/Indianapolis
2. no error reported but "America/Indiana/Indi" is saved in database
3. try to login and error 500 appears or try to change in admin section =>
Ensure this value has at most 20 characters (it has 28)
What is the expected output? What do you see instead?
saved value should not be stripped => "America/Indiana/Indianapolis"
What operating system are you using? What browser?
any
timezone evolution adds a string fixed to 20 chars
https://github.com/reviewboard/reviewboard/blob/master/reviewboard/accounts/evolutions/timezone.py
AddField('Profile', 'timezone', models.CharField, initial=u'UTC', max_length=20)
it is also limited to 20 chars in model
https://github.com/reviewboard/reviewboard/blob/master/reviewboard/accounts/models.py
# Allows per-user timezone settings
timezone = models.CharField(choices=TIMEZONE_CHOICES, default='UTC',
max_length=20)