field-date
Um campo de data nativo, mais a caixa de linguagem natural que o datetime.js ativa, a não ser que quem o usa passe Plain. Escreva "amanhã" nele.
Campo melhorado: escreva "amanhã" ou "daqui a 3 semanas"
<section rst-box><form rst-form method="post" action="#"><div rst-field>
<label rst-field-label for="field-date_live">Publish on</label>
<input rst-input id="field-date_live" name="field-date_live" type="date" value="2026-09-04" aria-describedby="field-date_live-hint" data-rst-date data-rst-date-words="{"ago":"atrás|atras|há|ha","am":"am|a.m.|manhã|manha","at":"às|as|à|a","day":"dia|dias","hour":"hora|horas|h","in":"em|daqui","last":"passado|passada|último|ultimo|última|ultima|anterior","midnight":"meia-noite|meia noite","minute":"minuto|minutos|min|mins|m","month":"mês|mes|meses","next":"próximo|proximo|próxima|proxima|seguinte","noon":"meio-dia|meio dia","pm":"pm|p.m.|tarde|noite","today":"hoje","tomorrow":"amanhã|amanha","week":"semana|semanas","yesterday":"ontem"}" data-rst-date-set="Definir" data-rst-date-hint="Experimente: {example}" data-rst-date-pick="Abrir o calendário" data-rst-date-calendar="Calendário" data-rst-date-prev-month="Mês anterior" data-rst-date-next-month="Mês seguinte" data-rst-date-results="{n} sugestões" data-rst-date-result-one="1 sugestão" data-rst-date-quick-today="Hoje" data-rst-date-quick-tomorrow="Amanhã" data-rst-date-quick-next-week="Dentro de uma semana" data-rst-date-quick-plus-1h="Uma hora depois" data-rst-date-quick-plus-2h="Duas horas depois" data-rst-date-quick-end-of-day="Fim desse dia" data-rst-date-quick-next-day="À mesma hora no dia seguinte">
<small rst-field-hint id="field-date_live-hint">The day it goes live.</small>
</div></form></section>
As palavras que analisa saem em data-rst-date-words, resolvidas pelo catálogo desta página: o campo analisa a língua em que a página está.
Obrigatório, com um erro
<section rst-box><form rst-form method="post" action="#"><div rst-field>
<label rst-field-label for="field-date_error">Publish on <span rst-field-required aria-hidden="true">*</span></label>
<input rst-input id="field-date_error" name="field-date_error" type="date" required aria-invalid="true" aria-describedby="field-date_error-error" data-rst-date data-rst-date-words="{"ago":"atrás|atras|há|ha","am":"am|a.m.|manhã|manha","at":"às|as|à|a","day":"dia|dias","hour":"hora|horas|h","in":"em|daqui","last":"passado|passada|último|ultimo|última|ultima|anterior","midnight":"meia-noite|meia noite","minute":"minuto|minutos|min|mins|m","month":"mês|mes|meses","next":"próximo|proximo|próxima|proxima|seguinte","noon":"meio-dia|meio dia","pm":"pm|p.m.|tarde|noite","today":"hoje","tomorrow":"amanhã|amanha","week":"semana|semanas","yesterday":"ontem"}" data-rst-date-set="Definir" data-rst-date-hint="Experimente: {example}" data-rst-date-pick="Abrir o calendário" data-rst-date-calendar="Calendário" data-rst-date-prev-month="Mês anterior" data-rst-date-next-month="Mês seguinte" data-rst-date-results="{n} sugestões" data-rst-date-result-one="1 sugestão" data-rst-date-quick-today="Hoje" data-rst-date-quick-tomorrow="Amanhã" data-rst-date-quick-next-week="Dentro de uma semana" data-rst-date-quick-plus-1h="Uma hora depois" data-rst-date-quick-plus-2h="Duas horas depois" data-rst-date-quick-end-of-day="Fim desse dia" data-rst-date-quick-next-day="À mesma hora no dia seguinte">
<small rst-field-error id="field-date_error-error">Pick a date after today.</small>
</div></form></section>
Com limites
<section rst-box><form rst-form method="post" action="#"><div rst-field>
<label rst-field-label for="field-date_bounded">Within this year</label>
<input rst-input id="field-date_bounded" name="field-date_bounded" type="date" value="2026-09-04" min="2026-01-01" max="2026-12-31" data-rst-date data-rst-date-words="{"ago":"atrás|atras|há|ha","am":"am|a.m.|manhã|manha","at":"às|as|à|a","day":"dia|dias","hour":"hora|horas|h","in":"em|daqui","last":"passado|passada|último|ultimo|última|ultima|anterior","midnight":"meia-noite|meia noite","minute":"minuto|minutos|min|mins|m","month":"mês|mes|meses","next":"próximo|proximo|próxima|proxima|seguinte","noon":"meio-dia|meio dia","pm":"pm|p.m.|tarde|noite","today":"hoje","tomorrow":"amanhã|amanha","week":"semana|semanas","yesterday":"ontem"}" data-rst-date-set="Definir" data-rst-date-hint="Experimente: {example}" data-rst-date-pick="Abrir o calendário" data-rst-date-calendar="Calendário" data-rst-date-prev-month="Mês anterior" data-rst-date-next-month="Mês seguinte" data-rst-date-results="{n} sugestões" data-rst-date-result-one="1 sugestão" data-rst-date-quick-today="Hoje" data-rst-date-quick-tomorrow="Amanhã" data-rst-date-quick-next-week="Dentro de uma semana" data-rst-date-quick-plus-1h="Uma hora depois" data-rst-date-quick-plus-2h="Duas horas depois" data-rst-date-quick-end-of-day="Fim desse dia" data-rst-date-quick-next-day="À mesma hora no dia seguinte">
</div></form></section>
Plain — o campo nativo tal e qual
<section rst-box><form rst-form method="post" action="#"><div rst-field>
<label rst-field-label for="field-date_plain">Publish on</label>
<input rst-input id="field-date_plain" name="field-date_plain" type="date" value="2026-09-04">
</div></form></section>
Sem nenhum atributo de melhoria, por isso o datetime.js não encontra nada. O seletor nativo continua a abrir.