bitwalker / bitwalker/timex

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

Open
#790 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Elixir
Stars
1.8k
Forks
407
PR merge metrics
No merged PRs in 30d

Description

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?("<>") ` returns false
- `is_valid_timezone?("") ` returns true

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.