Skip to content

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

@ctbucha

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.

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