Skip to content

writePolicy expiration incorrect month (concats "1" instead of adding) #7

Description

@ctbucha

The "expiration" field in the policy object of the writePolicy function concats a "1" to the month instead of adding. The fix would be to put dateExp.getUTCMonth() + 1 inside of parenthesis.

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