radar / radar/humanize

Possible to remove 'and' joining large numbers?

Open
#83 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
472
Forks
86
PR merge metrics
No merged PRs in 30d

Description

I noticed the same issue here #14, but I don't see a way to override this. According to the code below this doesn't seem possible anymore. Am I missing something?

def conjunction(parts, use_and)
  return '' if parts.empty?

  use_and ? ' and' : ','
end

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the conjunction(parts, use_and) method shown in the issue and review the related issue #14 for context. Determine whether the joining behavior can be overridden or configured, and consider the work complete when large-number output can omit the 'and' conjunction as requested.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
backend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.