mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-13 15:28:37 +01:00
updated code comments and fixed checkApiError legacy calls
This commit is contained in:
1 parent
40d2849aa6
commit
e5964e739e
11 files changed
+26
-24
No files matched your search
@@ -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 "";
|
||||
|
||||
Reference in new issue
Block a user