Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Learn More

Input type date placeholder text not localized

  • 1 resposta
  • 1 tem este problema
  • 10 visualizações
  • Última resposta de knickum

more options

No matter what combination of settings for Windows regions and languages, FF region download and navigator.userAgent, the placeholder text (as in, the text that shows before any value is entered, or when attribute value="") for an input field of type date always shows non-localized MM/DD/YYYY.

Reproduce: 1. Put 'data:text/html, <input type="date">' into the FF location. 2. Notice the text box shows 'mm/dd/yyyy' regardless of Windows and FF settings 3. Click in the box, select a date from the date picker, the result will be properly localized (e.g., select English (Canadian)/en-ca, or Chinese (Simplified)/ch-zh) and the date selected clearly doesn't match MM/DD/YYYY format.

No matter what combination of settings for Windows regions and languages, FF region download and navigator.userAgent, the placeholder text (as in, the text that shows before any value is entered, or when attribute value="") for an input field of type date always shows non-localized MM/DD/YYYY. Reproduce: 1. Put 'data:text/html, <input type="date">' into the FF location. 2. Notice the text box shows 'mm/dd/yyyy' regardless of Windows and FF settings 3. Click in the box, select a date from the date picker, the result will be properly localized (e.g., select English (Canadian)/en-ca, or Chinese (Simplified)/ch-zh) and the date selected clearly doesn't match MM/DD/YYYY format.

Todas as respostas (1)

more options