bt-core-app 2.0.244 → 2.0.245

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.
@@ -11801,12 +11801,12 @@ function w4(e) {
11801
11801
  var Y = H ?? p4, F = e.dates.tzDate(W), U = e.dates.tzDate(), q = Y.split(",");
11802
11802
  return q.length >= 4 && U.hasSame(F, "day") ? a(W, q[3]) : q.length >= 3 && U.hasSame(F, "month") ? a(W, q[2]) : q.length >= 2 && U.hasSame(F, "year") ? a(W, q[1]) : a(W, q[0]);
11803
11803
  }
11804
- function M(W) {
11805
- var H = new Intl.NumberFormat("en-US", {
11804
+ function M(W, H = 2) {
11805
+ var Y = new Intl.NumberFormat("en-US", {
11806
11806
  style: "percent",
11807
- minimumFractionDigits: 2
11807
+ minimumFractionDigits: H
11808
11808
  });
11809
- return H.format(W);
11809
+ return Y.format(W);
11810
11810
  }
11811
11811
  function T(W) {
11812
11812
  return W.replaceAll(",", " ");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "2.0.244",
3
+ "version": "2.0.245",
4
4
  "description": "Core app tools for some basic features like navigation, authentication, server apis, and cosmetics",
5
5
  "homepage": "https://github.com/BlitzItTech/bt-core",
6
6
  "bugs": {