Skip to content
This repository was archived by the owner on Feb 3, 2020. It is now read-only.

Bug in endOf in any months with 31 days #98

@etruta

Description

@etruta

Detailed Description

When I use the moment().endOf("M") in many 31 days months, as December, the return is the day 30th.

moment().endOf("M").format("dd/MM/YYYY") return 30/12/2017

Context

I use this to show the start and end of a month report

Environment

  • Version used: 0.7

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