Skip to content
Snippets Groups Projects

Human readable stats

Merged Ciarán Ainsworth requested to merge human-readble-stats into develop
All threads resolved!

Related issue: #873 (closed)

This change uses the toLocaleString() feature to automatically format numbers on the stats page to the current locale's format. The format is chosen from the $store.state.ui.momentLocale setting.

This change also rounds the number of hours to the nearest whole number for neatness (previously this was rounding down by default)

This Merge Request includes:

Example:

Locales

Edited by Ciarán Ainsworth

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added 1 commit

    • f8965e33 - Format numbers without a listener

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • Ciarán Ainsworth changed title from Human readble stats to Human readable stats

    changed title from Human readble stats to Human readable stats

  • Ciarán Ainsworth changed the description

    changed the description

  • Ciarán Ainsworth added 31 commits

    added 31 commits

    Compare with previous version

  • Ciarán Ainsworth resolved all discussions

    resolved all discussions

  • Ciarán Ainsworth mentioned in merge request !386 (closed)

    mentioned in merge request !386 (closed)

  • Maintainer

    Ok for me, let's merge!

  • Agate mentioned in commit 3fde0d9d

    mentioned in commit 3fde0d9d

  • merged

  • Please register or sign in to reply
    Loading