ionic-team / ionic-team/ionic-framework

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

Offen
#25,568 18 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
package: core type: feature request
Vorherrschende Sprache
TypeScript
Sterne
52.7k
Forks
13.3k
Ø Merge
1 T. 15 Std.
Gemergte PRs (30 T.)
51

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.