mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
fix(datetime): fix property dayNames (it was using dayShort)
clean up API docs references #5010
This commit is contained in:
@ -200,7 +200,7 @@ const DATETIME_VALUE_ACCESSOR = new Provider(
|
||||
* ```ts
|
||||
* @App({
|
||||
* config: {
|
||||
* monthNames: ['janeiro, 'fevereiro', 'mar\u00e7o', ... ],
|
||||
* monthNames: ['janeiro', 'fevereiro', 'mar\u00e7o', ... ],
|
||||
* monthShortNames: ['jan', 'fev', 'mar', ... ],
|
||||
* dayNames: ['domingo', 'segunda-feira', 'ter\u00e7a-feira', ... ],
|
||||
* dayShortNames: ['dom', 'seg', 'ter', ... ],
|
||||
@ -215,10 +215,10 @@ const DATETIME_VALUE_ACCESSOR = new Provider(
|
||||
* <ion-label>Período</ion-label>
|
||||
* <ion-datetime displayFormat="DDDD MMM D, YYYY"
|
||||
* [(ngModel)]="myDate"
|
||||
* monthNames="['janeiro, 'fevereiro', 'mar\u00e7o', ... ]"
|
||||
* monthShortNames="['jan', 'fev', 'mar', ... ]"
|
||||
* dayNames="['domingo', 'segunda-feira', 'ter\u00e7a-feira', ... ]"
|
||||
* dayShortNames="['dom', 'seg', 'ter', ... ]"
|
||||
* monthNames="[janeiro, fevereiro, mar\u00e7o, ... ]"
|
||||
* monthShortNames="[jan, fev, mar, ... ]"
|
||||
* dayNames="[domingo, segunda-feira, ter\u00e7a-feira, ... ]"
|
||||
* dayShortNames="[dom, seg, ter, ... ]"
|
||||
* ></ion-datetime>
|
||||
* </ion-item>
|
||||
* ```
|
||||
@ -406,7 +406,7 @@ export class DateTime {
|
||||
@Input() dayShortNames: any;
|
||||
|
||||
/**
|
||||
* @input {any} Any addition options that the picker interface can accept.
|
||||
* @input {any} Any additional options that the picker interface can accept.
|
||||
* See the [Picker API docs](../../picker/Picker) for the picker options.
|
||||
*/
|
||||
@Input() pickerOptions: any = {};
|
||||
|
Reference in New Issue
Block a user