DatePiece
type DatePiece = | { kind: "segment"; type: DateSegment;} | { kind: "literal"; text: string;};One rendered piece: an editable segment, or the text between two of them.
type DatePiece = | { kind: "segment"; type: DateSegment;} | { kind: "literal"; text: string;};One rendered piece: an editable segment, or the text between two of them.