From 5b24e9fb778b18f662947de88b69b93ce288cfa4 Mon Sep 17 00:00:00 2001 From: Apollo3zehn Date: Fri, 21 Jul 2023 17:31:43 +0200 Subject: [PATCH] Fixed a local time zone bug --- CHANGELOG.md | 4 ++++ src/Nexus.Sources.StructuredFile/StructuredFileDataSource.cs | 2 +- version.json | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 392d9b2..1d1bcc0 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## v2.0.0-beta.6 - 2023-07-21 + +- Fixed a local time zone bug. + ## v2.0.0-beta.5 - 2023-07-21 - Fixed a local time zone bug. diff --git a/src/Nexus.Sources.StructuredFile/StructuredFileDataSource.cs b/src/Nexus.Sources.StructuredFile/StructuredFileDataSource.cs index 2a1e548..a1666d8 100644 --- a/src/Nexus.Sources.StructuredFile/StructuredFileDataSource.cs +++ b/src/Nexus.Sources.StructuredFile/StructuredFileDataSource.cs @@ -547,7 +547,7 @@ protected virtual Task FindFilePathsAsync(DateTime begin, FileSource f _ => throw new ArgumentException("The begin parameter must have its kind property specified.") }; - var roundedLocalBegin = begin.RoundDown(fileSource.FilePeriod); + var roundedLocalBegin = localBegin.RoundDown(fileSource.FilePeriod); var folderNames = fileSource .PathSegments diff --git a/version.json b/version.json index c8d3709..91c6cff 100755 --- a/version.json +++ b/version.json @@ -1,4 +1,4 @@ { "version": "2.0.0", - "suffix": "beta.5" + "suffix": "beta.6" } \ No newline at end of file