063 cache bug fix

This commit is contained in:
2026-07-28 10:59:21 +03:00
parent 86500c8630
commit 164771bf78
3 changed files with 11 additions and 4 deletions
+7
View File
@@ -164,6 +164,13 @@ function roundSafe(a, precision) {
}
request.roundSafe = roundSafe;
function ceilingSafe(a) {
return (isNumeric(a)) ? ceiling(a) : a;
}
request.ceilingSafe = ceilingSafe;
function timeUnitLabel(n, value=0, locale="ru") {
var labels = ["сек.","мин.","ч.","д.","мес."];
if (n LE 5 AND n GE 1) {return labels[n];}