@communecter/cocolight-api-client 1.0.93 → 1.0.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cocolight-api-client.browser.js +1 -1
- package/dist/cocolight-api-client.cjs +1 -1
- package/dist/cocolight-api-client.mjs.js +1 -1
- package/dist/cocolight-api-client.vite.mjs.js +1 -1
- package/dist/cocolight-api-client.vite.mjs.js.map +1 -1
- package/package.json +1 -1
- package/src/ApiClient.ts +1 -3
package/package.json
CHANGED
package/src/ApiClient.ts
CHANGED
|
@@ -1047,7 +1047,7 @@ export default class ApiClient extends EventEmitter {
|
|
|
1047
1047
|
}
|
|
1048
1048
|
|
|
1049
1049
|
if (obj instanceof Date) {
|
|
1050
|
-
return obj.toISOString();
|
|
1050
|
+
return obj.toISOString().replace(/\.\d{3}Z$/, "+0000");
|
|
1051
1051
|
}
|
|
1052
1052
|
|
|
1053
1053
|
if (Array.isArray(obj)) {
|
|
@@ -1673,9 +1673,7 @@ export default class ApiClient extends EventEmitter {
|
|
|
1673
1673
|
|
|
1674
1674
|
// Si la clé correspond à un champ de date, on applique la normalisation de date.
|
|
1675
1675
|
if (this._dateFields.includes(key)) {
|
|
1676
|
-
console.log(key, value);
|
|
1677
1676
|
value = this._normalizeDate(value);
|
|
1678
|
-
console.log("Date", key, value);
|
|
1679
1677
|
}
|
|
1680
1678
|
|
|
1681
1679
|
// Si la clé correspond à un champ d'image, on applique la normalisation d'image.
|