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

Fix #4268: Retain the selected date when changing the time #4282

Commits on Sep 29, 2023

  1. Fix: Retain the selected date when changing the time

    Balaji Sridharan committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    6c9a350 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2023

  1. Test: Ensure InputTime component handles specified date prop correctly

    This commit includes two test cases for the InputTime component
    
    1. It verifies that the component correctly triggers the onChange event when a date prop is provided. The test simulates a change in time input and checks if the expected date, based on the provided date prop and new time, is passed to the onChange function.
    
    2. It ensures that the component gracefully handles the scenario when the date prop is missing. The test simulates a change in time input and checks if the expected date, based on the current date and new time, is passed to the onChange function when no date prop is provided.
    
    Closes Hacker0x01#4268
    Balaji Sridharan committed Oct 1, 2023
    Configuration menu
    Copy the full SHA
    4121ff6 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into issue-4268/fix/retain-selected-date-on-time-…

    …change
    Balaji Sridharan committed Oct 1, 2023
    Configuration menu
    Copy the full SHA
    2831b94 View commit details
    Browse the repository at this point in the history