Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plislit does not handle date timezone correctly #86567

Closed
jcbertin mannequin opened this issue Nov 19, 2020 · 2 comments
Closed

Plislit does not handle date timezone correctly #86567

jcbertin mannequin opened this issue Nov 19, 2020 · 2 comments
Labels
3.7 (EOL) end of life 3.8 only security fixes 3.9 only security fixes 3.10 only security fixes OS-mac stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@jcbertin
Copy link
Mannequin

jcbertin mannequin commented Nov 19, 2020

BPO 42401
Nosy @ronaldoussoren, @ned-deily, @jcbertin
PRs
  • bpo-42401: Fix parsing and writing of the date timezone. #23384
  • Files
  • incorrect_timezone.py
  • 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 = None
    closed_at = None
    created_at = <Date 2020-11-19.00:48:03.144>
    labels = ['OS-mac', 'type-bug', '3.8', '3.9', '3.10', '3.7', 'library']
    title = 'Plislit does not handle date timezone correctly'
    updated_at = <Date 2020-11-19.09:34:35.992>
    user = 'https://github.com/jcbertin'

    bugs.python.org fields:

    activity = <Date 2020-11-19.09:34:35.992>
    actor = 'ronaldoussoren'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)', 'macOS']
    creation = <Date 2020-11-19.00:48:03.144>
    creator = 'jcbertin'
    dependencies = []
    files = ['49607']
    hgrepos = []
    issue_num = 42401
    keywords = ['patch']
    message_count = 1.0
    messages = ['381386']
    nosy_count = 3.0
    nosy_names = ['ronaldoussoren', 'ned.deily', 'jcbertin']
    pr_nums = ['23384']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue42401'
    versions = ['Python 3.6', 'Python 3.7', 'Python 3.8', 'Python 3.9', 'Python 3.10']

    @jcbertin
    Copy link
    Mannequin Author

    jcbertin mannequin commented Nov 19, 2020

    The plistlib library does not write dates correctly due to its timezone naive date management.

    For an example, see https://gist.github.com/jcbertin/fedc115ea8122bec9953aa11041294eb or file attached.

    @jcbertin jcbertin mannequin added OS-mac 3.7 (EOL) end of life 3.8 only security fixes 3.9 only security fixes 3.10 only security fixes stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error and removed OS-mac labels Nov 19, 2020
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    @ronaldoussoren
    Copy link
    Contributor

    This is a duplicate of #53502 (which was just fixed)

    @ronaldoussoren ronaldoussoren closed this as not planned Won't fix, can't repro, duplicate, stale Jan 1, 2024
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.7 (EOL) end of life 3.8 only security fixes 3.9 only security fixes 3.10 only security fixes OS-mac stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant