ionic-team / ionic-team/ionic-framework

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

Aperta
#25,568 18 commenti 1 reazione 0 assegnatari Vedi su GitHub
package: core type: feature request
Lingua principale
TypeScript
Stelle
52.7k
Fork
13.3k
Merge medio
1g 15h
PR unite (30g)
51

Descrizione

### 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_

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.