ionic-team / ionic-team/ionic-framework

feat: datetime, allow for locales not supported by the browser

Abierto
#25,568 18 comentarios 1 reacción 0 asignados Ver en GitHub
package: core type: feature request
Lenguaje dominante
TypeScript
Estrellas
52.7k
Forks
13.3k
Merge medio
1 d 15 h
PR fusionados (30 d)
51

Descripción

### Prerequisites

- [X] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#creating-an-issue).
- [X] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [X] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already report this problem, without success.

### Ionic Framework Version

- [ ] v4.x
- [ ] v5.x
- [X] v6.x
- [ ] Nightly

### Current Behavior

the previous version of ion-datetime has monthNames property. it was useful to set month names up for any app localisation even the app language no in localisation standarts. also we would like to set weekdays' names to any.
is there way to do that in ionic 6?

also there are many tiny uncomfy stuff, such as:
- imposible to set title for the component;
- ionChange does not change value property;
- does not show cancel and done buttuns even cancelText and doneText are set

### Expected Behavior

- must be title, monthNames and weekNames properties;
- ionChange must change value property;
- must show cancel and done buttons that. done button must emit iolDone event

### Steps to Reproduce

just like in https://ionicframework.com/docs/api/datetime

### Code Reproduction URL

_No response_

### Ionic Info

Ionic CLI : 6.20.1 (/home/diamo/.nvm/versions/node/v16.15.1/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 6.1.11
@angular-devkit/build-angular : 14.0.3
@angular-devkit/schematics : 14.0.3
@angular/cli : 14.0.3
@ionic/angular-toolkit : 6.1.0

Capacitor:

Capacitor CLI : 3.6.0
@capacitor/android : 3.6.0
@capacitor/core : 3.6.0
@capacitor/ios : not installed

Utility:

cordova-res : not installed globally

### Additional Information

_No response_

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.