From 225239042f9b8b5744e55a0021eaafd988a2bd27 Mon Sep 17 00:00:00 2001 From: Giorgio Pellero Date: Mon, 17 Aug 2026 20:35:23 +0000 Subject: [PATCH 1/2] feat(TU-45701): add the time_format field property to Properties.Field The date block can now optionally collect a time of day. A field opts in by setting time_format; omitting the property keeps the field date-only, so there is deliberately no documented default. --- src/typeform-types.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/typeform-types.ts b/src/typeform-types.ts index 11de898..ede3615 100644 --- a/src/typeform-types.ts +++ b/src/typeform-types.ts @@ -894,6 +894,10 @@ export namespace Typeform { * Character to use between month, day, and year in answer. Available for `date` types. */ separator?: '/' | '-' | '.' + /** + * Display format for the time component. Omit to collect a date only. Available for `date` types. + */ + time_format?: 'HH:mm' | 'hh:mm a' currency?: | 'AUD' | 'BRL' From 119b255715b1ce1be2a29a60049bdadf09f76dc2 Mon Sep 17 00:00:00 2001 From: Giorgio Pellero Date: Mon, 17 Aug 2026 20:35:32 +0000 Subject: [PATCH 2/2] docs(TU-45701): correct the documented default date structure The date block defaults structure to MMDDYYYY, not DDMMYYYY. This is a comment only, unrelated to the time work, and safe to drop from this pull request if you would rather it went in on its own. --- src/typeform-types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/typeform-types.ts b/src/typeform-types.ts index ede3615..e88a99b 100644 --- a/src/typeform-types.ts +++ b/src/typeform-types.ts @@ -885,7 +885,7 @@ export namespace Typeform { */ start_at_one?: boolean /** - * Default: `"DDMMYYYY"` + * Default: `"MMDDYYYY"` * Format for month, date, and year in answer. Available for `date` types. */ structure?: 'MMDDYYYY' | 'DDMMYYYY' | 'YYYYMMDD'