arqex / arqex/react-datetime

timeConstraints API not working properly

Open
#370 1 comment 3 reactions 0 assignees View on GitHub
bug
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

When I click on the AM/PM arrow, the hour field changes but it should not.

Code snippet is below:
https://codepen.io/manogna08/pen/bRPrLP

![image](https://user-images.githubusercontent.com/7888296/28363993-532d09a8-6ca0-11e7-9016-22780a9db21f.png)

As you can see, when I click on the arrow circled by red marker, the no. (hours field) in the blue circle changes.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the behavior in the linked CodePen and inspect the timeConstraints API path handling the AM/PM arrow. Confirm that changing AM/PM leaves the hour field unchanged; the issue does not name a source file or regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.