Skip to content

Bad code #3

@grosch

Description

@grosch

Really cool idea, but this will return incorrect results. You can't just add a number of hours when you want the next day. You must use the calendar methods that properly manipulate time or you'll get screwed up in various timezone, with daylight savings, etc...

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