Skip to content

Commit 6cf569e

Browse files
committed
edits
1 parent c2ca409 commit 6cf569e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/cognitive-services/LUIS/luis-concept-data-alteration.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@ The Bing spell check API used in LUIS does not support a list of words to ignore
7070
## Change time zone of prebuilt datetimeV2 entity
7171
When a LUIS app uses the prebuilt [datetimeV2](luis-reference-prebuilt-datetimev2.md) entity, a datetime value can be returned in the prediction response. The timezone of the request is used to determine the correct datetime to return. If the request is coming from a bot or another centralized application before getting to LUIS, correct the timezone LUIS uses.
7272

73-
### V3 prediction API to alter timezone before prediction
73+
### V3 prediction API to alter timezone
7474

7575
In V3, the `datetimeReference` determines the timezone offset. Learn more about [V3 predictions](luis-migration-api-v3.md#v3-post-body).
7676

77-
### V2 prediction timezone
77+
### V2 prediction API to alter timezone
7878
The timezone is corrected by adding the user's timezone to the endpoint using the `timezoneOffset` parameter based on the API version. The value of the parameter should be the positive or negative number, in minutes, to alter the time.
7979

80-
### V2 prediction daylight savings example
80+
#### V2 prediction daylight savings example
8181
If you need the returned prebuilt datetimeV2 to adjust for daylight savings time, you should use the querystring parameter with a +/- value in minutes for the [endpoint](https://go.microsoft.com/fwlink/?linkid=2092356) query.
8282

8383
Add 60 minutes:
@@ -88,7 +88,7 @@ Remove 60 minutes:
8888

8989
`https://{region}.api.cognitive.microsoft.com/luis/v2.0/apps/{appId}?q=Turn the lights on?timezoneOffset=-60&verbose={boolean}&spellCheck={boolean}&staging={boolean}&bing-spell-check-subscription-key={string}&log={boolean}`
9090

91-
## V2 prediction C# code determines correct value of parameter
91+
#### V2 prediction C# code determines correct value of parameter
9292

9393
The following C# code uses the [TimeZoneInfo](https://docs.microsoft.com/dotnet/api/system.timezoneinfo) class's [FindSystemTimeZoneById](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.findsystemtimezonebyid#examples) method to determine the correct offset value based on system time:
9494

0 commit comments

Comments
 (0)