format_date
An example template.
Browse this template in the repository →
The PDFs below are rendered live by PDF Server from the shipped examples.
example
Inputs
Render data
example
examples/example.json
{
"issued_on": "2014-01-01",
"created_at": "2026-05-20T09:00:00Z"
}
Data schema
schema.json
{
"type": "object",
"properties": {
"issued_on": {
"type": "string",
"format": "date",
"description": "A calendar date (YYYY-MM-DD), consumed by format_date."
},
"created_at": {
"type": "string",
"format": "date-time",
"description": "An RFC 3339 timestamp, consumed by format_time."
}
},
"required": [
"issued_on",
"created_at"
]
}
Template
template.handlebars