pi-hole / PADD

PADD (formerly Chronometer2) is a more expansive version of the original chronometer.sh that is included with Pi-Hole. PADD provides in-depth information about your Pi-hole.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PADD not displaying formatted number

twistedgecko opened this issue · comments

Before submitting a bug report, are you using a test version of Pi-hole? If so, PADD doesn‘t support beta versions of Pi-hole!

Describe the bug
Numbers are displayed without grouping.

i.e.
Blocking: 2430249 domains

To Reproduce
Steps to reproduce the behavior:

  1. Start padd.sh

Expected behavior
Script:
domains_being_blocked=$(printf "%'.f" "${domains_being_blocked_raw}")

Running pihole@pihole:~ $ printf "%'.f" "2430249"

produces the correct 2,430,249

This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days.