New issue
Advanced search Search tips

Issue 806867 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 231811
Owner: ----
Closed: Jan 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

pIt's possible to pick 53 week in a non-long year

Reported by andrew.s...@gmail.com, Jan 29 2018

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36

Steps to reproduce the problem:
1. Add <input type="week"/> on the page HTML markup
2. Select 2018-W01 week
3. Press on Bottom Arrow inside of week control (rise week down by step)
4. You will see that date will be changed to 2017-W53
5. element.value at this moment will be equal empty string but input will show non-existent 2017-W53 week
5. 

What is the expected behavior?

What went wrong?
Shown non-existent 2017-W53 week in 2017 year

Did this work before? N/A 

Chrome version: 63.0.3239.132  Channel: n/a
OS Version: OS X 10.11.6
Flash Version:
 

Comment 1 Deleted

the same is reproduced in Opera 49.0 too

Comment 3 by b...@chromium.org, Jan 29 2018

Components: -UI Blink>Forms>Month Blink>Forms
I can confirm that 2017 does not have W53.  2017-12-31 was Sunday.  According to https://en.wikipedia.org/wiki/ISO_week_date#Last_week, it is then W52.

Adding Blink>Forms>Month component for visibility (there is no Blink>Forms>Week component).
Labels: Needs-Triage-M63

Comment 5 by tkent@chromium.org, Jan 30 2018

Mergedinto: 231811
Status: Duplicate (was: Unconfirmed)
This is a variant of Issue 231811.  We don't refer to year field to define the maximum value of the week field.  This is by design for now.

Sign in to add a comment