Skip to content

Commit 86fc4be

Browse files
alexeyzimarevclaude
andcommitted
fix: use DateTime.UtcNow in ElasticSearch store for consistency
All other stores use UTC timestamps; ElasticSearch was using local time. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1fc19de commit 86fc4be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Experimental/src/Eventuous.ElasticSearch/Store/ElasticEventStore.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ PersistedEvent AsDocument(NewStreamEvent evt, long position)
3131
(ulong)position + 1,
3232
evt.Payload,
3333
evt.Metadata.ToHeaders(),
34-
DateTime.Now
34+
DateTime.UtcNow
3535
);
3636
}
3737

0 commit comments

Comments
 (0)