Skip to content

Bad code #3

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...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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