ntk-cms-api 18.3.446 → 18.3.449

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.
@@ -1240,8 +1240,8 @@ class ApiServerBase {
1240
1240
  }
1241
1241
  getHeaders() {
1242
1242
  let dateTime = new Date();
1243
- this.headers.set('Date-Time', dateTime);
1244
- this.headers.set('Date-Time-Zone', dateTime.getTimezoneOffset());
1243
+ this.headers.set('Date-Time', dateTime.toJSON());
1244
+ this.headers.set('Date-Time-Zone', dateTime.getTimezoneOffset().toString());
1245
1245
  /*Authorization*/
1246
1246
  if (this.getUserToken() && this.getUserToken().length > 1) {
1247
1247
  this.headers.set('Authorization', this.getUserToken());