From c65a769ef882097dcf36d05be45a371f5933f606 Mon Sep 17 00:00:00 2001 From: Martin Jaros Date: Tue, 25 Jan 2022 11:19:54 +0100 Subject: [PATCH] Improved comment for DateOnly. --- src/model/ts/default-types.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/model/ts/default-types.ts b/src/model/ts/default-types.ts index 275b3a4..12282d5 100644 --- a/src/model/ts/default-types.ts +++ b/src/model/ts/default-types.ts @@ -18,8 +18,9 @@ export type DateTime=string // @format date-time /** * String @format date, - * as defined by RFC 3339, section 5.6, - * for example: 2017-07-21. + * as defined by RFC 3339, section 5.6 as full-date, + * for example: 2017-07-21. DateOnly is a description of a date, as used for birthdays. It cannot + * represent an instant on the time-line without additional information such as an offset or time-zone. */ export type DateOnly=string // @format date