updated js sdk and resolved isNew record field conflict

This commit is contained in:
Gani Georgiev committed 2023-05-01 13:00:12 +03:00
1 parent 74306c8092
commit 28c9f02cb4
35 files changed
+55 -50

No files matched your search

+2 -2
View File
@@ -694,8 +694,8 @@ export default class CommonHelper {
const formats = {
19: "yyyy-MM-dd HH:mm:ss",
23: "yyyy-MM-dd HH:mm:ss.SSS",
20: "yyyy-MM-dd HH:mm:ssZ",
24: "yyyy-MM-dd HH:mm:ss.SSSZ",
20: "yyyy-MM-dd HH:mm:ss'Z'",
24: "yyyy-MM-dd HH:mm:ss.SSS'Z'",
}
const format = formats[date.length] || formats[19];
return DateTime.fromFormat(date, format, { zone: 'UTC' });