captbaritone / captbaritone/datejs

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

Open
#184 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.