id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 16924,'date' template filter displays certain timezones incorrectly,Drew Roos,nobody,"the ''date'' template filter will display the wrong timezone offset, if that timezone is a partial-hour offset from UTC, and is west of UTC (negative offset). {{{ >> from django.utils.dateformat import format >> import pytz >> from datetime import datetime >> x = pytz.UTC.localize(datetime(2011, 1, 1)).astimezone(pytz.timezone('America/St_Johns')) >> format(x, 'O') u'-0430' >> y = pytz.UTC.localize(datetime(1970, 1, 1)).astimezone(pytz.timezone('Africa/Monrovia')) >> format(y, 'O') u'-0116' }}} the correct offsets are ''-0330'' and ''-0044'', respectively. ",Bug,closed,Core (Other),dev,Normal,fixed,"template, date, filter, timezone",,Accepted,1,0,1,1,1,0