Template:Dts/doc

Dts (date table sort) is used to correctly sort and display dates in a sortable table.

What it solves
Normally, for proper sorting, dates must be entered in YYYY-MM-DD format. However, that format does not conform to the Manual of Style for date display. This template automatically creates the hidden  for sorting purposes and then displays the date like this: July 4, 1776. To hide the output, use the dtsh template instead.

Input
date