From 5809f5b95fdac9546cf3f2792c34271d9ed64a50 Mon Sep 17 00:00:00 2001 From: "ester.zhou" Date: Mon, 4 Sep 2023 10:52:17 +0800 Subject: [PATCH] Update docs (23405) Signed-off-by: ester.zhou --- .../reference/arkui-ts/ts-basic-components-timepicker.md | 2 +- .../reference/arkui-ts/ts-methods-datepicker-dialog.md | 2 +- .../reference/arkui-ts/ts-methods-timepicker-dialog.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/en/application-dev/reference/arkui-ts/ts-basic-components-timepicker.md b/en/application-dev/reference/arkui-ts/ts-basic-components-timepicker.md index 7b3d5620b8..56eff9b0ec 100644 --- a/en/application-dev/reference/arkui-ts/ts-basic-components-timepicker.md +++ b/en/application-dev/reference/arkui-ts/ts-basic-components-timepicker.md @@ -30,7 +30,7 @@ In addition to the [universal attributes](ts-universal-attributes-size.md), the | Name | Type | Description | | -------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ | -| useMilitaryTime | boolean | Whether the display time is in 24-hour format.
Default value: **false** | +| useMilitaryTime | boolean | Whether the display time is in 24-hour format.
Default value: **false**
**NOTE**
When in the 12-hour format, the AM/PM zone does not change depending on the hour portion.| | disappearTextStyle10+ | [PickerTextStyle](ts-basic-components-datepicker.md#pickertextstyle10) | Font color, font size, and font width for the top and bottom items.
Default value:
{
color: '#ff182431',
font: {
size: '14fp',
weight: FontWeight.Regular
}
} | | textStyle10+ | [PickerTextStyle](ts-basic-components-datepicker.md#pickertextstyle10) | Font color, font size, and font width of all items except the top, bottom, and selected items.
Default value:
{
color: '#ff182431',
font: {
size: '16fp',
weight: FontWeight.Regular
}
} | | selectedTextStyle10+ | [PickerTextStyle](ts-basic-components-datepicker.md#pickertextstyle10) | Font color, font size, and font width of the selected item.
Default value:
{
color: '#ff007dff',
font: {
size: '20vp',
weight: FontWeight.Medium
}
} | diff --git a/en/application-dev/reference/arkui-ts/ts-methods-datepicker-dialog.md b/en/application-dev/reference/arkui-ts/ts-methods-datepicker-dialog.md index f6294e6026..63033ebc53 100644 --- a/en/application-dev/reference/arkui-ts/ts-methods-datepicker-dialog.md +++ b/en/application-dev/reference/arkui-ts/ts-methods-datepicker-dialog.md @@ -25,7 +25,7 @@ Shows a date picker dialog box. | selected | Date | No| Selected date.
Default value: current system date| | lunar | boolean | No| Whether to display the lunar calendar.
Default value: **false**| | showTime10+ | boolean | No| Whether to display the time item.
Default value: **false**| -| useMilitaryTime10+ | boolean | No| Whether to display time in 24-hour format.
Default value: **false**| +| useMilitaryTime10+ | boolean | No| Whether to display time in 24-hour format.
Default value: **false**
**NOTE**
When in the 12-hour format, the AM/PM zone does not change depending on the hour portion.| | disappearTextStyle10+ | [PickerTextStyle](ts-basic-components-datepicker.md#pickertextstyle10) | No| Font color, font size, and font width for the top and bottom items.
Default value:
{
color: '#ff182431',
font: {
size: '14fp',
weight: FontWeight.Regular
}
} | | textStyle10+ | [PickerTextStyle](ts-basic-components-datepicker.md#pickertextstyle10) | No| Font color, font size, and font width of all items except the top, bottom, and selected items.
Default value:
{
color: '#ff182431',
font: {
size: '16fp',
weight: FontWeight.Regular
}
} | | selectedTextStyle10+ | [PickerTextStyle](ts-basic-components-datepicker.md#pickertextstyle10) | No| Font color, font size, and font width of the selected item.
Default value:
{
color: '#ff007dff',
font: {
size: '20vp',
weight: FontWeight.Medium
}
} | diff --git a/en/application-dev/reference/arkui-ts/ts-methods-timepicker-dialog.md b/en/application-dev/reference/arkui-ts/ts-methods-timepicker-dialog.md index 9ea19b5b40..9f848617e3 100644 --- a/en/application-dev/reference/arkui-ts/ts-methods-timepicker-dialog.md +++ b/en/application-dev/reference/arkui-ts/ts-methods-timepicker-dialog.md @@ -22,7 +22,7 @@ Shows a time picker dialog box. | Name| Type| Mandatory| Description| | -------- | -------- | -------- | -------- | | selected | Date | No| Selected time.
Default value: current system time| -| useMilitaryTime | boolean | No| Whether to display time in 24-hour format. The 12-hour format is used by default.
Default value: **false**| +| useMilitaryTime | boolean | No| Whether to display time in 24-hour format. The 12-hour format is used by default.
Default value: **false**
**NOTE**
When in the 12-hour format, the AM/PM zone does not change depending on the hour portion.| | disappearTextStyle10+ | [PickerTextStyle](ts-basic-components-datepicker.md#pickertextstyle10) | No| Font color, font size, and font width for the top and bottom items.
Default value:
{
color: '#ff182431',
font: {
size: '14fp',
weight: FontWeight.Regular
}
} | | textStyle10+ | [PickerTextStyle](ts-basic-components-datepicker.md#pickertextstyle10) | No| Font color, font size, and font width of all items except the top, bottom, and selected items.
Default value:
{
color: '#ff182431',
font: {
size: '16fp',
weight: FontWeight.Regular
}
} | | selectedTextStyle10+ | [PickerTextStyle](ts-basic-components-datepicker.md#pickertextstyle10) | No| Font color, font size, and font width of the selected item.
Default value:
{
color: '#ff007dff',
font: {
size: '20vp',
weight: FontWeight.Medium
}
} | -- GitLab