A lightweight, powerful javascript datetime picker
95
{
"context": "This criteria evaluates how well the engineer uses flatpickr's multiple date selection capabilities, specifically the mode and conjunction configuration options. The focus is on proper configuration of flatpickr to enable multiple date selection with custom separator strings.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Multiple selection mode",
"description": "Uses flatpickr with mode: 'multiple' configuration to enable multiple date selection functionality",
"max_score": 30
},
{
"name": "Custom conjunction string",
"description": "Configures the conjunction option with the value ' and ' to customize the separator between selected dates in the display",
"max_score": 30
},
{
"name": "Date format configuration",
"description": "Uses the dateFormat option to specify a readable date format (e.g., 'F j, Y' for 'January 15, 2025' or similar month-day-year formats)",
"max_score": 20
},
{
"name": "Proper initialization",
"description": "Correctly calls flatpickr() constructor or factory function with the input element and configuration object to initialize the date picker instance",
"max_score": 20
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-flatpickrevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10