A lightweight polyfill for Temporal, successor to the JavaScript Date object
Overall
score
96%
Evaluation — 96%
↑ 1.19xAgent success when using this tile
{
"context": "Evaluates how well the solution uses temporal-polyfill's ZonedDateTime APIs to retime events across zones, adjust local clock values, and reason about daylight-saving-sensitive day boundaries. Points emphasize direct use of the library's zone-aware operations rather than manual math.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Zone conversion",
"description": "Builds a ZonedDateTime from the ISO input and uses withTimeZone (not manual offset math) to express the same instant in the target zone before returning an ISO string.",
"max_score": 30
},
{
"name": "Clock replacement",
"description": "For replacing the local time, calls withPlainTime on the existing ZonedDateTime using the provided HH:mm[:ss] string so the date and zone stay fixed.",
"max_score": 25
},
{
"name": "Day start",
"description": "Computes the start of the local day via the startOfDay ZonedDateTime helper rather than reconstructing timestamps manually.",
"max_score": 20
},
{
"name": "Day length",
"description": "Reports the calendar day's duration using the hoursInDay property on the ZonedDateTime, capturing 23/24/25-hour cases without custom calculations.",
"max_score": 15
},
{
"name": "Parsing & output",
"description": "Leverages Temporal.ZonedDateTime.from for ISO parsing and returns results using the object's toString()/toJSON output instead of string concatenation.",
"max_score": 10
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-temporal-polyfilldocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10