Skip to content

Fix time helper to use local time#93

Merged
PrzemyslawKlys merged 1 commit intomasterfrom
use-local-time-consistently-in-timehelper.cs
Jul 2, 2025
Merged

Fix time helper to use local time#93
PrzemyslawKlys merged 1 commit intomasterfrom
use-local-time-consistently-in-timehelper.cs

Conversation

@PrzemyslawKlys
Copy link
Member

Summary

  • use DateTime.Now when determining query ranges
  • expose internals to tests
  • add unit tests checking time ranges are local

Testing

  • dotnet build Sources/EventViewerX/EventViewerX.csproj
  • dotnet test Sources/EventViewerX.Tests/EventViewerX.Tests.csproj

https://chatgpt.com/codex/tasks/task_e_6865311602c0832e9b1af8673e9efdff

@PrzemyslawKlys PrzemyslawKlys merged commit aa51a44 into master Jul 2, 2025
5 checks passed
@PrzemyslawKlys PrzemyslawKlys deleted the use-local-time-consistently-in-timehelper.cs branch July 2, 2025 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant