updated code comments and fixed checkApiError legacy calls

This commit is contained in:
Gani Georgiev committed 2026-06-02 14:07:33 +03:00
1 parent 40d2849aa6
commit e5964e739e
11 files changed
+26 -24

No files matched your search

+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 "";