Skip to content

Commit

Permalink
Merge branch 'master' into task/add_typeInformation_in_errors
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroVega committed Feb 22, 2024
2 parents 4bd98b5 + b1da0d0 commit 1f02146
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES_NEXT_RELEASE
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
- Hardening: simplify implementation so typeInformation contains global config values (#1515)
- Add: `POST /iot/op/delete` operation to delete multiple devices at once (#1578)
- Fix: store device subscriptions updates (#1086)
- Fix: badtimestamp error should not progress to ContextBroker
1 change: 1 addition & 0 deletions lib/services/ngsi/entities-NGSI-v2.js
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ function sendUpdateValueNgsi2(entityName, measures, typeInformation, token, call
callback(
new errors.BadTimestamp(plainMeasures[constants.TIMESTAMP_ATTRIBUTE], entityName, typeInformation)
);
return;
}
} else if (!typeInformation.timezone) {
timestamp.value = new Date().toISOString();
Expand Down

0 comments on commit 1f02146

Please sign in to comment.