Skip to content

Time zone-capable variant of time.localtime #44606

@pboddie

Description

@pboddie
mannequin
BPO 1667546
Nosy @gvanrossum, @birkenfeld, @abalkin, @pitrou
Superseder
  • bpo-9527: Add aware local time support to datetime module
  • Files
  • timemodule.c.diff: Patch against timemodule.c providing localtime_tz and related enhancements
  • tm_gmtoff.diff: Revised patch against timemodule.c and test_time.py
  • tm_gmtoff_zone.diff: Revised patch against timemodule.c and test_time.py providing tm_zone (Python 2.4.4)
  • tm_gmtoff_zone_26.diff: Revised patch against timemodule.c and test_time.py providing tm_zone (trunk)
  • tm_gmtoff_zone_timegm.diff: Revised patch against timemodule.c, test_time.py, _strptime.py (Python 2.4.4)
  • tm_gmtoff_zone_timegm_26.diff: Revised patch against timemodule.c, test_time.py, _strptime.py (trunk)
  • tm_gmtoff_zone_timegm_mktimetz.diff: Revised patch against timemodule.c, test_time.py, _strptime.py, libtime.tex (Python 2.4.4)
  • tm_gmtoff_zone_timegm_mktimetz_26.diff: Revised patch against timemodule.c, test_time.py, _strptime.py, libtime.tex (trunk)
  • time-1.diff
  • time-1-improved.diff: time-1.diff improved to handle absent tm_gmtoff fields more reasonably
  • time-2.diff: Revised patch fixing tm_isdst issues
  • time-3.diff: Revised patch fixing tests, common code.
  • time-4.diff: Revised patch, adding sequence length tests, reverting ifdef change
  • time-4-py3k.diff: Patch for py3k branch
  • issue1667546.diff
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/abalkin'
    closed_at = <Date 2012-06-14.02:18:24.559>
    created_at = <Date 2007-02-23.23:25:33.000>
    labels = ['extension-modules', 'type-feature']
    title = 'Time zone-capable variant of time.localtime'
    updated_at = <Date 2012-06-14.02:18:24.558>
    user = 'https://bugs.python.org/pboddie'

    bugs.python.org fields:

    activity = <Date 2012-06-14.02:18:24.558>
    actor = 'belopolsky'
    assignee = 'belopolsky'
    closed = True
    closed_date = <Date 2012-06-14.02:18:24.559>
    closer = 'belopolsky'
    components = ['Extension Modules']
    creation = <Date 2007-02-23.23:25:33.000>
    creator = 'pboddie'
    dependencies = []
    files = ['7773', '7774', '7775', '7776', '7777', '7778', '7779', '7780', '7781', '7782', '7783', '7784', '7785', '17578', '26002']
    hgrepos = []
    issue_num = 1667546
    keywords = ['patch']
    message_count = 37.0
    messages = ['51917', '51918', '51919', '51920', '51921', '51922', '51923', '51924', '51925', '51926', '51927', '51928', '51929', '51930', '51931', '51932', '51933', '51934', '51935', '51936', '51937', '51938', '51939', '82263', '82398', '107156', '107159', '107226', '107231', '125957', '125990', '126006', '162655', '162733', '162740', '162744', '162747']
    nosy_count = 9.0
    nosy_names = ['gvanrossum', 'nnorwitz', 'georg.brandl', 'pboddie', 'belopolsky', 'pitrou', 'techtonik', 'Alexander.Belopolsky', 'python-dev']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = '9527'
    type = 'enhancement'
    url = 'https://bugs.python.org/issue1667546'
    versions = ['Python 3.3']

    Metadata

    Metadata

    Assignees

    Labels

    extension-modulesC modules in the Modules dirtype-featureA feature request or enhancement
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions