Calendar Select Other Month issue #1475

Closed
IvanPrytsko opened this Issue Dec 1, 2016 · 1 comment

Projects

None yet

3 participants

@IvanPrytsko
IvanPrytsko commented Dec 1, 2016 edited

I'm submitting a ... (check one with "x")

[x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Plunkr Case (Bug Reports)
Please fork the plunkr below and create a case demonstrating your bug report. Issues without a plunkr have much less possibility to be reviewed.

http://plnkr.co/edit/rAJ7bjA2tHkRoHiLYV5p?p=preview

Current behavior

  1. If we select date from previous month - everything fine
  2. If we select date from next month - actually selects date from previous.

Expected behavior
If we select date from next month - date from next month should be selected.

Minimal reproduction of the problem with instructions
calendar issue
Click on (1) date - will be selected 30 JAN 2017 - OK
Click on (2) date - will select 03 JAN 2017 - Expected 03 MAR 2017

What is the motivation / use case for changing the behavior?
Wrong behavior

Please tell us about your environment:
Win10

  • Angular version:
    2.2.1

  • PrimeNG version:
    1.0.0

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
    Chrome 54
    Firefox 47

  • Language: [all | TypeScript X.X | ES6/7 | ES5]
    TypeScript 2.0.10

@upmauro upmauro referenced this issue Dec 2, 2016
Merged

Fixed #1475 #1483

@upmauro
Contributor
upmauro commented Dec 7, 2016 edited

Duplicated of #1450

@cagataycivici cagataycivici self-assigned this Dec 20, 2016
@cagataycivici cagataycivici added this to the 1.1.1 milestone Dec 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment