Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3005 by timezone string limited to 20 char whereas some timezones are greater than 20

*** For customer support, please post to
*** If you have a patch, please submit it to
*** Do not post confidential information in this bug report!

What version are you running?
1.7.6 reviewboard server

What's the URL of the page containing the problem?

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?

timezone evolution adds a string fixed to 20 chars

AddField('Profile', 'timezone', models.CharField, initial=u'UTC', max_length=20)

it is also limited to 20 chars in model

    # Allows per-user timezone settings
    timezone = models.CharField(choices=TIMEZONE_CHOICES, default='UTC',

You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
For more options, visit

Reply via email to