From 9fbcf871d7d9c961ac187eb55b2d69d21af6d2ce Mon Sep 17 00:00:00 2001 From: D024504 Date: Thu, 25 Jul 2024 13:48:17 +0200 Subject: [PATCH] Point in time -> temporal value --- vocabularies/UI.json | 6 +++--- vocabularies/UI.md | 4 ++-- vocabularies/UI.xml | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/vocabularies/UI.json b/vocabularies/UI.json index d706fa3f5..aeaefd86e 100644 --- a/vocabularies/UI.json +++ b/vocabularies/UI.json @@ -1311,8 +1311,8 @@ "$Type": "UI.DateTimeFormatType", "$AppliesTo": ["Property", "Parameter"], "@Common.Experimental": true, - "@Core.Description": "The point in time represented by the annotated property or parameter shall be shown on the UI in the given format", - "@Core.LongDescription": "Requires type `Edm.Date`, `Edm.TimeOfDay`, or `Edm.DateTimeOffset`.\n If this annotation is absent or all its properties null or an empty string, points in time are shown in a default format." + "@Core.Description": "The temporal value represented by the annotated property or parameter shall be shown on the UI in the given format", + "@Core.LongDescription": "Requires type `Edm.Date`, `Edm.TimeOfDay`, or `Edm.DateTimeOffset`.\n If this annotation is absent or all its properties null or an empty string, temporal values are shown in a default format." }, "DateTimeFormatType": { "$Kind": "ComplexType", @@ -1323,7 +1323,7 @@ }, "Style": { "$Nullable": true, - "@Core.Description": "Show the point in time in shorter or longer style", + "@Core.Description": "Show the temporal value in shorter or longer style", "@Validation.AllowedValues": [ { "Value": "short", "@Core.Description": "7/25/24, 1:11 PM" }, { "Value": "medium", "@Core.Description": "Jul 25, 2024, 1:11:51 PM" }, diff --git a/vocabularies/UI.md b/vocabularies/UI.md index 3bf6ee7b0..b3dd7ec02 100644 --- a/vocabularies/UI.md +++ b/vocabularies/UI.md @@ -56,7 +56,7 @@ Term|Type|Description [Placeholder](UI.xml#L1402)|String|A short, human-readable text that gives a hint or an example to help the user with data entry [InputMask](UI.xml#L1407) *([Experimental](Common.md#Experimental))*|[InputMaskType](#InputMaskType)|Properties or parameters annotated with this term will get a mask in edit mode
Input masks improve readability and help to enter data correctly. So, masks can be especially useful for input fields that have a fixed pattern, e.g. DUNS numbers or similar. [Here](../examples/UI.InputMask-sample.xml) you can find an example for this annotation [TextArrangement](UI.xml#L1441)|[TextArrangementType](#TextArrangementType)|Describes the arrangement of a code or ID value and its text

This term annotates one of the following:

  1. a Common.Text annotation of the code or ID property where the annotation value is the text
  2. an entity type, this has the same effect as annotating all Common.Text annotations of properties of that entity type.
-[DateTimeFormat](UI.xml#L1464) *([Experimental](Common.md#Experimental))*|[DateTimeFormatType](#DateTimeFormatType)|The point in time represented by the annotated property or parameter shall be shown on the UI in the given format
Requires type `Edm.Date`, `Edm.TimeOfDay`, or `Edm.DateTimeOffset`. If this annotation is absent or all its properties null or an empty string, points in time are shown in a default format. +[DateTimeFormat](UI.xml#L1464) *([Experimental](Common.md#Experimental))*|[DateTimeFormatType](#DateTimeFormatType)|The temporal value represented by the annotated property or parameter shall be shown on the UI in the given format
Requires type `Edm.Date`, `Edm.TimeOfDay`, or `Edm.DateTimeOffset`. If this annotation is absent or all its properties null or an empty string, temporal values are shown in a default format. [Note](UI.xml#L1502) *([Experimental](Common.md#Experimental))*|[NoteType](#NoteType)|Visualization of a note attached to an entity
Administrative data is given by the annotations [`Common.CreatedBy`](Common.md#CreatedBy), [`Common.CreatedAt`](Common.md#CreatedAt), [`Common.ChangedBy`](Common.md#ChangedBy), [`Common.ChangedAt`](Common.md#ChangedAt) on the same entity type. [Importance](UI.xml#L1555)|[ImportanceType](#ImportanceType)|Expresses the importance of e.g. a DataField or an annotation [Hidden](UI.xml#L1570)|[Tag](https://github.com/oasis-tcs/odata-vocabularies/blob/main/vocabularies/Org.OData.Core.V1.md#Tag)|Properties or facets (see UI.Facet) annotated with this term will not be rendered if the annotation evaluates to true.
Hidden properties usually carry technical information that is used for application control and is of no direct interest to end users. The annotation value may be an expression to dynamically hide or render the annotated feature. If a navigation property is annotated with `Hidden` true, all subsequent parts are hidden - independent of their own potential `Hidden` annotations. @@ -792,7 +792,7 @@ Member|Value|Description Property|Type|Description :-------|:---|:---------- [Pattern](UI.xml#L1474)|String?|A date/time pattern as defined in https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table -[Style](UI.xml#L1477)|String?|Show the point in time in shorter or longer style
Allowed values:
[short](UI.xml#L1481)
7/25/24, 1:11 PM
[medium](UI.xml#L1485)
Jul 25, 2024, 1:11:51 PM
[long](UI.xml#L1489)
July 25, 2024 at 1:11:51 PM GMT+2
[full](UI.xml#L1493)
Thursday, July 25, 2024 at 1:11:51 PM Central European Summer Time
+[Style](UI.xml#L1477)|String?|Show the temporal value in shorter or longer style
Allowed values:
[short](UI.xml#L1481)
7/25/24, 1:11 PM
[medium](UI.xml#L1485)
Jul 25, 2024, 1:11:51 PM
[long](UI.xml#L1489)
July 25, 2024 at 1:11:51 PM GMT+2
[full](UI.xml#L1493)
Thursday, July 25, 2024 at 1:11:51 PM Central European Summer Time
## [NoteType](UI.xml#L1514) *([Experimental](Common.md#Experimental))* diff --git a/vocabularies/UI.xml b/vocabularies/UI.xml index d396a762f..73738f0b2 100644 --- a/vocabularies/UI.xml +++ b/vocabularies/UI.xml @@ -1463,10 +1463,10 @@ So, masks can be especially useful for input fields that have a fixed pattern, e - + Requires type `Edm.Date`, `Edm.TimeOfDay`, or `Edm.DateTimeOffset`. - If this annotation is absent or all its properties null or an empty string, points in time are shown in a default format. + If this annotation is absent or all its properties null or an empty string, temporal values are shown in a default format. @@ -1475,7 +1475,7 @@ So, masks can be especially useful for input fields that have a fixed pattern, e - +