New issue
Advanced search Search tips

Issue 919712 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac , Fuchsia
Pri: 3
Type: Feature



Sign in to add a comment

Japanese new imperial era name support in the calendar picker

Project Member Reported by tkent@chromium.org, Jan 8

Issue description

Chrome Version: ToT
OS: all Desktop

What steps will reproduce the problem?
(1) Open data:text/html,<input type=date> in ja-jp environment
(2) Click the picker indicator
(3) Show 2019-05

What is the expected result?
New era name should be shown beside "2019年"

What happens instead?
"2019年(平成31年) 5月" is shown.


Note: New era starts at 2019-05-01, and the new era name is going to be published at 2019-04-01.



Please use labels and text to provide additional information.

If this is a regression (i.e., worked before), please consider using the
bisect tool (https://www.chromium.org/developers/bisect-builds-py) to help
us identify the root cause and more rapidly triage the issue.

For graphics-related bugs, please copy/paste the contents of the about:gpu
page at the end of this report.


 
Project Member

Comment 1 by bugdroid1@chromium.org, Jan 8

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/bf823aaaf2a2dad13430cfecb9749bcfb8989cdd

commit bf823aaaf2a2dad13430cfecb9749bcfb8989cdd
Author: Kent Tamura <tkent@chromium.org>
Date: Tue Jan 08 04:58:27 2019

calendar-picker: Do not show Japanese imperial era for months after 2019-04

New era name is unknown yet.

Bug: 919712
Change-Id: I8143d2626befa499052b48b6fd0edfe1ee8b386e
Reviewed-on: https://chromium-review.googlesource.com/c/1399766
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#620628}
[modify] https://crrev.com/bf823aaaf2a2dad13430cfecb9749bcfb8989cdd/third_party/blink/renderer/core/html/forms/resources/calendarPicker.js
[add] https://crrev.com/bf823aaaf2a2dad13430cfecb9749bcfb8989cdd/third_party/blink/web_tests/fast/forms/calendar-picker/japanese-era-names.html

Sign in to add a comment