Skip to content

Commit

Permalink
Merge pull request #2 from rimrul/mac-grammar
Browse files Browse the repository at this point in the history
downloads/mac: fix grammar
  • Loading branch information
dscho authored Oct 24, 2023
2 parents 4334119 + 465b1f6 commit 453a33e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/downloads/mac.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ <h3>Binary installer</h3>
let ago = "" + daysAgo + " days ago"

const handwave = (exact, unit) => {
const rest = (count) => "" + count + " " + unit + (unit > 1 ? "s" : "")
const rest = count => `${count} ${unit}${count > 1 ? "s" : ""} ago`

const roundedDown = Math.floor(exact)
const fract = exact - roundedDown
Expand Down

0 comments on commit 453a33e

Please sign in to comment.