arqex / arqex/react-datetime

Parameter 'currentDate' of the 'isValidDate' API is always showing nearly a month ahead time

Open
#522 4 comments 0 reactions 0 assignees View on GitHub
needs info
Dominant language
JavaScript
Stars
2k
Forks
858
PR merge metrics
No merged PRs in 30d

Description

**I'm Submitting a ...**

[x] Bug report
[] Feature request
[] Support request

**Steps to Reproduce**

Parameter 'currentDate' of the 'isValidDate' API is always showing nearly a month ahead time
```

{
console.log(currentDate);
console.log(selectedDate);
} />
```
When i select 01 Jan 2018, cuurentDate parameters gives -d='Sat Feb 10 2018 00:00:00 GMT+1300 (NZDT) {}' and _i is present date : "2018-02-20T06:37:40+13:00"

Now when i select 01 March 2018, cuurentDate parameters gives _d="Sat Apr 07 2018 00:00:00 GMT+1200 (NZST)", and _i is present date : "2018-02-20T06:37:40+13:0"

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.