(value)
| 355 | } |
| 356 | |
| 357 | function normalizeMonth(value) { |
| 358 | const digits = String(value || "").replace(/\D/g, ""); |
| 359 | if (!digits) return ""; |
| 360 | return digits.slice(0, 2).padStart(2, "0"); |
| 361 | } |
| 362 | |
| 363 | function normalizeYear(value) { |
| 364 | const digits = String(value || "").replace(/\D/g, ""); |
no outgoing calls
no test coverage detected