field-date
একটি নেটিভ তারিখ ইনপুট, সঙ্গে datetime.js যে স্বাভাবিক-ভাষার কম্বোবক্স চালু করে — যদি না ডাকার সময় Plain দেওয়া হয়। এতে "আগামীকাল" লিখে দেখুন।
উন্নত ইনপুট: লিখুন "আগামীকাল" বা "৩ সপ্তাহ পরে"
<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":"আগে","am":"সকাল|পূর্বাহ্ন|am","at":"টায়|এ","day":"দিন","hour":"ঘণ্টা|ঘন্টা","in":"পরে|মধ্যে","last":"গত|আগের","midnight":"মধ্যরাত","minute":"মিনিট","month":"মাস","next":"পরের|আগামী","noon":"দুপুর","pm":"বিকাল|সন্ধ্যা|রাত|pm|বিকেল","today":"আজ","tomorrow":"আগামীকাল|কাল","week":"সপ্তাহ","yesterday":"গতকাল"}" data-rst-date-set="নির্ধারণ করুন" data-rst-date-hint="চেষ্টা করুন: {example}" data-rst-date-pick="ক্যালেন্ডার খুলুন" data-rst-date-calendar="ক্যালেন্ডার" data-rst-date-prev-month="আগের মাস" data-rst-date-next-month="পরের মাস" data-rst-date-results="{n}টি পরামর্শ" data-rst-date-result-one="১টি পরামর্শ" data-rst-date-quick-today="আজ" data-rst-date-quick-tomorrow="আগামীকাল" data-rst-date-quick-next-week="এক সপ্তাহ পরে" data-rst-date-quick-plus-1h="এক ঘণ্টা পরে" data-rst-date-quick-plus-2h="দুই ঘণ্টা পরে" data-rst-date-quick-end-of-day="সেই দিনের শেষে" data-rst-date-quick-next-day="পরের দিন একই সময়ে">
<small rst-field-hint id="field-date_live-hint">The day it goes live.</small>
</div></form></section>
যে শব্দগুলো এটি পড়ে, সেগুলো data-rst-date-words দিয়ে বেরিয়ে যায়, এই পাতার ক্যাটালগ থেকে মেলানো: ফিল্ডটি সেই ভাষাই পড়ে যে ভাষায় পাতাটি আছে।
আবশ্যিক, একটি ত্রুটিসহ
<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":"আগে","am":"সকাল|পূর্বাহ্ন|am","at":"টায়|এ","day":"দিন","hour":"ঘণ্টা|ঘন্টা","in":"পরে|মধ্যে","last":"গত|আগের","midnight":"মধ্যরাত","minute":"মিনিট","month":"মাস","next":"পরের|আগামী","noon":"দুপুর","pm":"বিকাল|সন্ধ্যা|রাত|pm|বিকেল","today":"আজ","tomorrow":"আগামীকাল|কাল","week":"সপ্তাহ","yesterday":"গতকাল"}" data-rst-date-set="নির্ধারণ করুন" data-rst-date-hint="চেষ্টা করুন: {example}" data-rst-date-pick="ক্যালেন্ডার খুলুন" data-rst-date-calendar="ক্যালেন্ডার" data-rst-date-prev-month="আগের মাস" data-rst-date-next-month="পরের মাস" data-rst-date-results="{n}টি পরামর্শ" data-rst-date-result-one="১টি পরামর্শ" data-rst-date-quick-today="আজ" data-rst-date-quick-tomorrow="আগামীকাল" data-rst-date-quick-next-week="এক সপ্তাহ পরে" data-rst-date-quick-plus-1h="এক ঘণ্টা পরে" data-rst-date-quick-plus-2h="দুই ঘণ্টা পরে" data-rst-date-quick-end-of-day="সেই দিনের শেষে" data-rst-date-quick-next-day="পরের দিন একই সময়ে">
<small rst-field-error id="field-date_error-error">Pick a date after today.</small>
</div></form></section>
সীমা বেঁধে দেওয়া
<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":"আগে","am":"সকাল|পূর্বাহ্ন|am","at":"টায়|এ","day":"দিন","hour":"ঘণ্টা|ঘন্টা","in":"পরে|মধ্যে","last":"গত|আগের","midnight":"মধ্যরাত","minute":"মিনিট","month":"মাস","next":"পরের|আগামী","noon":"দুপুর","pm":"বিকাল|সন্ধ্যা|রাত|pm|বিকেল","today":"আজ","tomorrow":"আগামীকাল|কাল","week":"সপ্তাহ","yesterday":"গতকাল"}" data-rst-date-set="নির্ধারণ করুন" data-rst-date-hint="চেষ্টা করুন: {example}" data-rst-date-pick="ক্যালেন্ডার খুলুন" data-rst-date-calendar="ক্যালেন্ডার" data-rst-date-prev-month="আগের মাস" data-rst-date-next-month="পরের মাস" data-rst-date-results="{n}টি পরামর্শ" data-rst-date-result-one="১টি পরামর্শ" data-rst-date-quick-today="আজ" data-rst-date-quick-tomorrow="আগামীকাল" data-rst-date-quick-next-week="এক সপ্তাহ পরে" data-rst-date-quick-plus-1h="এক ঘণ্টা পরে" data-rst-date-quick-plus-2h="দুই ঘণ্টা পরে" data-rst-date-quick-end-of-day="সেই দিনের শেষে" data-rst-date-quick-next-day="পরের দিন একই সময়ে">
</div></form></section>
Plain — নিছক নেটিভ ইনপুট
<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>
উন্নত করার কোনো বৈশিষ্ট্যই নেই, তাই datetime.js কিছুই খুঁজে পায় না। নেটিভ পিকারটি তবুও খোলে।