Skip to content

Add aware local time support to datetime module #53736

Description

@abalkin
BPO 9527
Nosy @tim-one, @loewis, @warsaw, @jribbens, @rhettinger, @jcea, @amauryfa, @mdickinson, @ncoghlan, @abalkin, @pitrou, @catlee, @vstinner, @cameron-simpson, @merwok, @bitdancer
Dependencies
  • bpo-1647654: No obvious and correct way to get the time zone offset
  • bpo-1667546: Time zone-capable variant of time.localtime
  • Files
  • datetime-localtime-proto.diff
  • datetime-localtime-proto-1.diff
  • datetime-astimezone-proto.diff
  • testtz.py: A simple test in a non-trivial timezone
  • issue9527.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-22.17:37:39.663>
    created_at = <Date 2010-08-06.03:48:18.582>
    labels = ['extension-modules', 'type-feature', 'library']
    title = 'Add aware local time support to datetime module'
    updated_at = <Date 2012-06-22.20:09:58.207>
    user = 'https://github.com/abalkin'

    bugs.python.org fields:

    activity = <Date 2012-06-22.20:09:58.207>
    actor = 'python-dev'
    assignee = 'belopolsky'
    closed = True
    closed_date = <Date 2012-06-22.17:37:39.663>
    closer = 'belopolsky'
    components = ['Extension Modules', 'Library (Lib)']
    creation = <Date 2010-08-06.03:48:18.582>
    creator = 'belopolsky'
    dependencies = ['1647654', '1667546']
    files = ['18410', '20410', '25939', '25940', '26062']
    hgrepos = []
    issue_num = 9527
    keywords = ['patch']
    message_count = 21.0
    messages = ['113067', '113069', '118675', '126292', '126295', '127516', '127517', '135227', '153928', '161643', '162631', '162658', '162660', '163136', '163137', '163297', '163429', '163442', '163465', '163467', '163476']
    nosy_count = 29.0
    nosy_names = ['tim.peters', 'loewis', 'barry', 'jribbens', 'rhettinger', 'jcea', 'pboddie', 'jamesh', 'guettli', 'amaury.forgeotdarc', 'mark.dickinson', 'ncoghlan', 'davidfraser', 'belopolsky', 'pitrou', 'andersjm', 'catlee', 'vstinner', 'techtonik', 'tomster', 'werneck', 'hodgestar', 'Neil Muller', 'cameron', 'eric.araujo', 'erik.stephens', 'steve.roberts', 'r.david.murray', 'python-dev']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue9527'
    versions = ['Python 3.2']

    Metadata

    Metadata

    Assignees

    Labels

    extension-modulesC modules in the Modules dirstdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions