Skip to content

Commit 5434314

Browse files
committed
add iso time for create
1 parent e869f86 commit 5434314

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

document-store/src/main/java/org/hypertrace/core/documentstore/mongo/MongoCollection.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ private BasicDBObject prepareDocument(Key key, Document document, long now)
340340
BasicDBObject basicDBObject = getSanitizedBasicDBObject(document);
341341
basicDBObject.put(ID_KEY, key.toString());
342342
basicDBObject.put(LAST_UPDATED_TIME, now);
343+
basicDBObject.put(LAST_UPDATE_TIMESTAMP_ISO_8601, new Date(now));
343344
return basicDBObject;
344345
}
345346

0 commit comments

Comments
 (0)