Skip to content

GlossyParser.prototype.parseBsdTime uses getUTCFullYear, yet creates the date in local time #15

@moll

Description

@moll

Hey,

GlossyParser.prototype.parseBsdTime uses the new Date constructor passing it the current year in UTC, but new Date causes it then to be interpreted as the local time zone's year.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions