@quenty/countdowntext 4.9.0 → 4.9.1-canary.90de6eb.0

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [4.9.1-canary.90de6eb.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/countdowntext@4.9.0...@quenty/countdowntext@4.9.1-canary.90de6eb.0) (2026-01-03)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Show zero text when at zero ([8de88e3](https://github.com/Quenty/NevermoreEngine/commit/8de88e30f56ff53a5d846ec41a43cf7bef0bb046))
12
+
13
+
14
+
15
+
16
+
6
17
  # [4.9.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/countdowntext@4.8.3...@quenty/countdowntext@4.9.0) (2025-05-10)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/countdowntext
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/countdowntext",
3
- "version": "4.9.0",
3
+ "version": "4.9.1-canary.90de6eb.0",
4
4
  "description": "Utility methods to format countdown text",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,10 +25,10 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/loader": "^10.9.0"
28
+ "@quenty/loader": "10.9.1-canary.90de6eb.0"
29
29
  },
30
30
  "publishConfig": {
31
31
  "access": "public"
32
32
  },
33
- "gitHead": "20cff952c2cf06b959f2f11d2293bdef38acc604"
33
+ "gitHead": "90de6ebb6e0cb5e6798e08b312cb1864c1d3354c"
34
34
  }
@@ -18,7 +18,7 @@ function CountdownTextUtils.formatCountdown(seconds: number, whenAtZeroText: str
18
18
  assert(type(seconds) == "number", "Bad seconds")
19
19
  assert(type(whenAtZeroText) == "string" or whenAtZeroText == nil, "Bad whenAtZeroText")
20
20
 
21
- if seconds < 0 then
21
+ if seconds <= 0 then
22
22
  return whenAtZeroText or "0"
23
23
  end
24
24