feat: Datetime add time-compact presentation style
See original GitHub issuePrerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already include this feature request, without success.
Describe the Feature Request
When used with time-date
presentation style or similar, the datetime component renders the time as follows:
When used as time
, sadly like this:
Describe the Use Case
- When multiple times are needed for only one date, ex. Start & end times
Describe Preferred Solution
I suggest a new presentation style time-compact
, that only renders the time picker as seen in time-date
presentation.
Describe Alternatives
No response
Related Code
No response
Additional Information
No response
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Custom date and time format strings | Microsoft Learn
Learn to use custom date and time format strings to convert DateTime or DateTimeOffset values into text representations, or to parse strings ...
Read more >datetime — Basic date and time types — Python 3.11.1 ...
Return a string representing the date, controlled by an explicit format string. Format codes referring to hours, minutes or seconds will see 0...
Read more >ion-datetime - Ionic Framework
Datetimes present a picker interface to select dates and times. Ionic's API Datetime input component easily displays a preferred format, and manages values....
Read more ><input type="datetime-local"> - HTML - MDN Web Docs
The format of the date and time value used by this input type is ... You can set a default value for the...
Read more >How to Insert the Current Date/Time in Microsoft PowerPoint
We show you how to add a custom date and time in PowerPoint. ... The next few steps are pretty simple—choose the date...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, the plan so far is to have the new feature cover all presentation values.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.