Skip to content

add().days().toString() returns different dates depending on format chosen #184

Description

@GoogleCodeExporter
What steps will reproduce the problem?

new Date('Nov 14, 2014').add(3).days().toString('MMM d, yyyy') returns Nov 
17,2014

new Date('2014-11-14').add(3).days().toString('yyyy-MM-dd') returns 2014-11-16

What is the expected output? What do you see instead?
I expected them to return the same date

What version of the product are you using? On what operating system?
Version: 1.0 Alpha-1 on linux server
browser tested: Firefox Mac

Please provide any additional information below.


Original issue reported on code.google.com by r...@ethos7.com on 26 Jan 2014 at 8:12

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions