Skip to content

Development#112

Merged
sondresjolyst merged 3 commits intomainfrom
development
Apr 21, 2026
Merged

Development#112
sondresjolyst merged 3 commits intomainfrom
development

Conversation

@sondresjolyst
Copy link
Copy Markdown
Owner

No description provided.

dependabot Bot and others added 3 commits April 20, 2026 07:04
* chore(main): release 2.0.2 (#105)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* deps: Bump Serilog.Sinks.Console from 6.0.0 to 6.1.1

---
updated-dependencies:
- dependency-name: Serilog.Sinks.Console
  dependency-version: 6.1.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Sondre Sjølyst <18713420+sondresjolyst@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
#106)

* chore(main): release 2.0.2 (#105)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* deps: Bump Npgsql.EntityFrameworkCore.PostgreSQL from 9.0.3 to 9.0.4

---
updated-dependencies:
- dependency-name: Npgsql.EntityFrameworkCore.PostgreSQL
  dependency-version: 9.0.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Sondre Sjølyst <18713420+sondresjolyst@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
NordPool started returning delivery dates in 'MM/dd/yyyy HH:mm:ss' format
instead of ISO 8601, causing a FormatException in ParseDeliveryDate.

Added ParseDeliveryDate() helper (aligned with the main-branch timezone fix)
that handles all three formats NordPool may return:
- ISO with T (e.g. 2026-04-18T22:00:00Z) - parsed as UTC via DateTimeOffset
- MM/dd/yyyy HH:mm:ss (new NordPool format) - stored as UTC midnight
- yyyy-MM-dd (date-only) - stored as UTC midnight

This prevents both the FormatException and timezone-dependent duplicate rows,
and fixes both the background fetch job and the controller endpoint.
@sondresjolyst sondresjolyst merged commit 53fc920 into main Apr 21, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant