question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

feat: Datetime add time-compact presentation style

See original GitHub issue

Prerequisites

Describe the Feature Request

When used with time-date presentation style or similar, the datetime component renders the time as follows:

image

When used as time, sadly like this: image

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:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
amandaejohnstoncommented, Feb 28, 2022

Yes, the plan so far is to have the new feature cover all presentation values.

0reactions
ionitron-bot[bot]commented, Mar 30, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found