field-date
একটি নেটিভ তারিখ ইনপুট, সঙ্গে datetime.js যে স্বাভাবিক-ভাষার কম্বোবক্স চালু করে — যদি না ডাকার সময় Plain দেওয়া হয়। এতে "আগামীকাল" লিখে দেখুন।
উন্নত ইনপুট: লিখুন "আগামীকাল" বা "৩ সপ্তাহ পরে"
এটি <section rst-box><form rst-form>-এর ভেতরে রাখুন।
<div rst-field >
<label rst-field-label for ="field-date_live" >প্রকাশের তারিখ</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" >যেদিন এটি চালু হবে।</small >
</div >
এটি <section rst-box><form rst-form>-এর ভেতরে রাখুন।
{{ template "field-date" dict
"Name" "field-date_live"
"Label" "প্রকাশের তারিখ"
"Value" "2026-09-04"
"Hint" "যেদিন এটি চালু হবে।" }}
যে শব্দগুলো এটি পড়ে, সেগুলো data-rst-date-words দিয়ে বেরিয়ে যায়, এই পাতার ক্যাটালগ থেকে মেলানো: ফিল্ডটি সেই ভাষাই পড়ে যে ভাষায় পাতাটি আছে।
আবশ্যিক, একটি ত্রুটিসহ
এটি <section rst-box><form rst-form>-এর ভেতরে রাখুন।
<div rst-field >
<label rst-field-label for ="field-date_error" >প্রকাশের তারিখ <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" >আজকের পরের একটি তারিখ বেছে নিন।</small >
</div >
এটি <section rst-box><form rst-form>-এর ভেতরে রাখুন।
{{ template "field-date" dict
"Name" "field-date_error"
"Label" "প্রকাশের তারিখ"
"Required" true
"Error" "আজকের পরের একটি তারিখ বেছে নিন।" }}
সীমা বেঁধে দেওয়া
এটি <section rst-box><form rst-form>-এর ভেতরে রাখুন।
<div rst-field >
<label rst-field-label for ="field-date_bounded" >এই বছরের মধ্যে</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 >
এটি <section rst-box><form rst-form>-এর ভেতরে রাখুন।
{{ template "field-date" dict
"Name" "field-date_bounded"
"Label" "এই বছরের মধ্যে"
"Value" "2026-09-04"
"Min" "2026-01-01"
"Max" "2026-12-31" }}
Plain: নিছক নেটিভ ইনপুট
এটি <section rst-box><form rst-form>-এর ভেতরে রাখুন।
<div rst-field >
<label rst-field-label for ="field-date_plain" >প্রকাশের তারিখ</label >
<input rst-input id ="field-date_plain" name ="field-date_plain" type ="date" value ="2026-09-04" >
</div >
এটি <section rst-box><form rst-form>-এর ভেতরে রাখুন।
{{ template "field-date" dict
"Name" "field-date_plain"
"Label" "প্রকাশের তারিখ"
"Value" "2026-09-04"
"Plain" true }}
উন্নত করার কোনো বৈশিষ্ট্যই নেই, তাই datetime.js কিছুই খুঁজে পায় না। নেটিভ পিকারটি তবুও খোলে।