Skip to content

rsv encounters a bug for single digit numbers  #4

Description

@RunjiaChen

image.png

Description

For numbers less than 10, inputting 0x will cause an error

Steps to reproduce

  1. Launch the application for the first time to load initial data.
  2. Run the command rsv 1 d/2024-04-17 t/1800 p/08

Expected behaviour

The input should be accepted

Actual behaviour

An error message is thrown instead

Reason for severity

Low severity as the user can simply just remove the zero

Ideas

This may be caused by not removing any leading zeros infront of the number

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions