locmeter 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/locmeter.js +1 -1
  2. package/package.json +1 -1
package/bin/locmeter.js CHANGED
@@ -723,7 +723,7 @@ function formatCompact(value) {
723
723
  }
724
724
 
725
725
  function formatGrouped(value) {
726
- return new Intl.NumberFormat("de-AT").format(value);
726
+ return String(value).replace(/\B(?=(\d{3})+(?!\d))/g, ".");
727
727
  }
728
728
 
729
729
  function xLabel(date, bucket) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "locmeter",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Render a PNG chart of lines changed over time from your GitHub contribution repos.",
5
5
  "license": "MIT",
6
6
  "preferGlobal": true,