field-date
एक मूल तारीख़ इनपुट, और उसके साथ datetime.js का सहज-भाषा कॉम्बोबॉक्स — जब तक बुलाने वाला Plain न भेजे। इसमें "कल" लिखकर देखें।
उन्नत इनपुट: लिखें "कल" या "3 हफ़्ते में"
इसे <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 ="1 सुझाव" 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 ="1 सुझाव" 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 ="1 सुझाव" 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 को कुछ नहीं मिलता। मूल पिकर फिर भी खुलता है।