Skip to content

FixedOffsetTimezone repr() is awkard for negative offsets #215

Open

Description

@moreati
>>> babel.util.FixedOffsetTimezone(-60)
<FixedOffset "Etc/GMT+-60" -1 day, 23:00:00>

Ideally this would be something like <FixedOffset "Etc/GMT-60" -1:00:00>. I'm not sure it matters enough to change the existing behaviour. Assessments and recommendations welcomed.

Activity

  1. sils commented on Sep 10, 2015

    @sils
    Member

    Indeed, I'm for this change but it's not a real bug so it doesn't need backporting.

  2. akx commented on Dec 23, 2015

    @akx
    Member

    The +-60 bug was fixed by d816803, it seems.

    I'm wondering whether FixedOffsetTimezone should exist in Babel at all...

  3. added a commit that references this issue on Jul 15, 2016
    2e118f3
  4. added a commit that references this issue on Mar 24, 2017
    6d90d15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions