Skip to content

is_valid_timezone?("<a string with two sets characters wrapped in angle brackets><will return true>") returns true #790

Description

@sam-pd

Any input wrapped in <...>...<...> with three or more non-> bytes between each pair will pass Timex.is_valid_timezone?.

  • is_valid_timezone?("<><>") returns false
  • is_valid_timezone?("<abc><>") returns false
  • is_valid_timezone?("<abc><def>") returns true

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

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions