updated code comments and fixed checkApiError legacy calls

This commit is contained in:
Gani Georgiev
2026-06-02 14:07:33 +03:00
parent 40d2849aa6
commit e5964e739e
11 changed files with 26 additions and 24 deletions
+6
View File
@@ -717,6 +717,12 @@ const utils = {
return date.toISOString().replace("T", " ");
},
/**
* Returns datetime formatted string (YYYY-MM-DD HH:mm:ss.nnn) in the local timezone.
*
* @param {string|number|Date} strOrDate
* @return {string}
*/
toLocalDatetime(strOrDate) {
if (!strOrDate) {
return "";