Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date-Time-Input: support additional time input formats #1155

Open
ddaribo opened this issue Apr 12, 2024 · 0 comments
Open

Date-Time-Input: support additional time input formats #1155

ddaribo opened this issue Apr 12, 2024 · 0 comments

Comments

@ddaribo
Copy link
Contributor

ddaribo commented Apr 12, 2024

Add the following additional input formats for the Date-Time-Input. Related to this issue and changes from the igniteui-angular repo.
Update the spec section about Custom input format.

Format Description
S Fractional seconds 1 digit, will be coerced with leading zero while editing.
SS Fractional seconds 2 digits, will be coerced with leading zero while editing.
SSS Fractional seconds 3 digits with explicitly set leading zero.
a AM/PM section for 12-hour format.
aa AM/PM section for 12-hour format.
aaa AM/PM section for 12-hour format.
aaaa AM/PM section for 12-hour format.
aaaaa a/p section for 12-hour format.

Note: if fractional seconds are to be supported for input, they also have to be supported for display, which isn't currently the case for the IgcDateTimeInput. This is different than the Angular feature, where the display format is handled by the Date Pipe and no additional handling is needed there in that regard.

@ddaribo ddaribo added 🆕 status: new The issue is new and will be reviewed when somebody picks it up. feature date-time-input labels Apr 12, 2024
@ddaribo ddaribo added 👀 status: in-review and removed 🆕 status: new The issue is new and will be reviewed when somebody picks it up. labels Apr 25, 2024
@rkaraivanov rkaraivanov self-assigned this May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants