Display correct timezone on timestamp for question submission
The view for submission history used to grab the timezone from the database (UTC) and appeded the TIME_ZONE variable after (could be any time zone). Adjusted displayed timedate to the TIME_ZONE variable. Added unittest checks the localized datetime object used by submission history for the expected hour difference.
Showing
Please
register
or
sign in
to comment