Skip to content

Commit

Permalink
fix: createdAt format to ngsiLd DateTime (#1267)
Browse files Browse the repository at this point in the history
  • Loading branch information
ranim-n authored Nov 21, 2024
1 parent 6d22cf2 commit bd5146d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class EntityService(
authorizationService.userCanCreateEntities(sub.toOption()).bind()
entityQueryService.checkEntityExistence(ngsiLdEntity.id, true).bind()

val createdAt = ZonedDateTime.now(ZoneOffset.UTC)
val createdAt = ngsiLdDateTime()
val attributesMetadata = ngsiLdEntity.prepareAttributes().bind()
logger.debug("Creating entity {}", ngsiLdEntity.id)

Expand Down

0 comments on commit bd5146d

Please sign in to comment.