Skip to content

[EuiSuperDatePicker] Allow accepting text input of partial dates and times #1715

Closed as not planned

Description

@peteharverson

When entering date / time directly into the EuiSuperDatePicker in 'absolute' mode, only input specified all the way down to ms is accepted. It seems unnecessary to force the user to enter all the way down to ms level, rather than accept e.g. 2019-01-03 or 2019-01-03 12:00, as was possible with the previous Kibana date / time picker control.

image

Activity

  1. anishagg17 commented on Mar 4, 2020

    @anishagg17
    Contributor

    @snide i want to work on this

  2. hetanthakkar commented on Mar 15, 2020

    @hetanthakkar
    Contributor

    @anishagg17 are you working on it?im also interested. @cchaos

  3. anishagg17 commented on Mar 16, 2020

    @anishagg17
    Contributor

    @cchaos what needs to be done for this?

  4. cchaos commented on Mar 16, 2020

    @cchaos
    Contributor

    The input in the EuiSuperDatePicker's absolute tab expects users to type the entire expected format down to the hundredth millisecond. Instead, the input should allow the user to type in an incomplete yet valid format up to the stopping point and the time picker would just fill in the rest with 0s.

  5. anishagg17 commented on Mar 17, 2020

    @anishagg17
    Contributor

    I was asking if you had an approach for it or not, I am working on this now

  6. cchaos commented on Mar 17, 2020

    @cchaos
    Contributor

    @anishagg17 I do not have a thought out approach. The above comment explains what should occur. Hopefully that is enough to figure out a possible solution.

  7. changed the title [-]Allow EuiSuperDatePicker to accept text input of partial dates and times[/-] [+][EuiSuperDatePicker] Allow accepting text input of partial dates and times[/+] on Sep 20, 2020
  8. github-actions commented on Mar 19, 2021

    @github-actions

    👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.

  9. added
    stale-issue
    on Mar 19, 2021
  10. removed
    stale-issue
    on Mar 19, 2021
  11. 10 remaining items

  12. added and removed
    stale-issue-closed
    on Jan 4, 2022
  13. github-actions commented on Apr 19, 2023

    @github-actions

    👋 Hi there - this issue hasn't had any activity in 6 months. If the EUI team has not explicitly expressed that this is something on our roadmap, it's unlikely that we'll pick this issue up. We would sincerely appreciate a PR/community contribution if this is something that matters to you! If not, and there is no further activity on this issue for another 6 months (i.e. it's stale for over a year), the issue will be auto-closed.

  14. added
    stale-issue
    on Apr 19, 2023
  15. peteharverson commented on Apr 19, 2023

    @peteharverson
    Author

    I still think this would be a useful enhancement - allowing partial entry of e.g. just the date, rather than having to specify down to ms level:

    image

  16. removed
    stale-issue
    on Apr 19, 2023
  17. github-actions commented on Oct 22, 2023

    @github-actions

    👋 Hi there - this issue hasn't had any activity in 6 months. If the EUI team has not explicitly expressed that this is something on our roadmap, it's unlikely that we'll pick this issue up. We would sincerely appreciate a PR/community contribution if this is something that matters to you! If not, and there is no further activity on this issue for another 6 months (i.e. it's stale for over a year), the issue will be auto-closed.

  18. added
    stale-issue
    on Oct 22, 2023
  19. github-actions commented on Apr 19, 2024

    @github-actions

    ❌ Per our previous message, this issue is auto-closing after having been open and inactive for a year. If you strongly feel this is still a high-priority issue, or are interested in contributing, please leave a comment or open a new issue linking to this one for context.

  20. added
    stale-issue-closed
    on Apr 19, 2024
  21. cee-chen commented on Apr 22, 2024

    @cee-chen
    Contributor

    EuiSuperDatePicker now supports ISO 8601 timestamps which allows partial dates/times. For example:

    • 2019-01-01
    • 2019-01-01T12:00

    We recommend using that format for partial dates/times rather than the full MMM D, YYYY @ HH:mm:ss.SSS format. If a partial version of MMM D, YYYY @ HH:mm:ss.SSS is still needed, feel free to leave a comment for additional consideration.

  22. peteharverson commented on Apr 23, 2024

    @peteharverson
    Author

    @cee-chen it's good that the date picker now supports partial ISO 8601 timestamps, although I wonder how many users will be familiar with for example the format 2019-01-01T12:00? Anyhow, happy to park this for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issuestale-issuestale-issue-closed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions