bitwalker / bitwalker/timex

Timex.Duration.parse!/2 ignores parser argument

Open Beginner friendly
#795 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

Timex.Duration.parse!/2 is calling parse/1 instead of parse/2, which ignores the `parser` argument.

Contributor guide

Open the contributing guide

Research direction

Start by locating Timex.Duration.parse!/2 and comparing its call to parse/1 with the parse/2 interface described in the issue. Add coverage for passing a custom parser, then run the relevant project tests and confirm that parse!/2 uses the supplied parser.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
78/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.