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

EndOf Years bug #90

@hidrodixtion

Description

@hidrodixtion

There's a bug when getting EndOf a year

Detailed Description

let now = moment()
let endYear = now.subtract(1, .Years).endOf(.Years)  // 2016-12-30 23:59:59

expected result is 2016-12-31 23:59:59

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

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载