is_valid_timezone?("<a string with two sets characters wrapped in angle brackets><will return true>") returns true
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
Research direction
Start at the Timex.is_valid_timezone? entry point and reproduce the three inputs shown in the issue. Trace the validation of angle-bracketed values and add or update coverage for the examples; done means the malformed input with two non-empty sets returns false while the listed invalid cases remain false.
Written by the indexing model from the issue text.
Description
Any input wrapped in <...>...<...> with three or more non-> bytes between each pair will pass Timex.is_valid_timezone?.
is_valid_timezone?("<><>")returns falseis_valid_timezone?("<abc><>")returns falseis_valid_timezone?("<abc><def>")returns true
- Dominant language
- Elixir
- Stars
- 1.8k
- Forks
- 408
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from bitwalker/timex
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
phoenixframework/phoenix#6847 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
beyond-all-reason/teiserver#1584 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ash-project/ash#2954 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
membraneframework/boombox#149 ·