arqex / arqex/react-datetime

onClose returns wrong value

Open
#814 1 comment 0 reactions 0 assignees View on GitHub
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
1) Select any date
2) Open datepicker and select another time
3) onClose returns previous time

### Expected Results
onClose returns the same as value

### Actual Results
onClose returns wrong time

### Minimal Reproduction of the Problem
https://codesandbox.io/s/fast-voice-92g2i?file=/src/App.js

### Other Information (e.g. stacktraces, related issues, suggestions how to fix)

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.