Skip to content

fix: treat 24:00 as end-of-day#102

Merged
Lewa-Reka merged 1 commit into
mainfrom
fix/75-handle-2400
Jun 2, 2026
Merged

fix: treat 24:00 as end-of-day#102
Lewa-Reka merged 1 commit into
mainfrom
fix/75-handle-2400

Conversation

@Lewa-Reka

@Lewa-Reka Lewa-Reka commented Jun 2, 2026

Copy link
Copy Markdown
Owner

Accept 24:00 as an end-of-day search bound and avoid creating invalid time(24, 0). Add regression tests covering 24:00 handling.

close #75 #80

Accept 24:00 as an end-of-day search bound and avoid creating invalid time(24, 0).
Add regression tests covering 24:00 handling.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Lewa-Reka Lewa-Reka linked an issue Jun 2, 2026 that may be closed by this pull request
@github-actions

github-actions Bot commented Jun 2, 2026

Copy link
Copy Markdown

⚠️MegaLinter analysis: Success with warnings

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 5 0 0 0.03s
✅ JSON jsonlint 5 0 0 0.13s
⚠️ JSON prettier 5 1 0 0.65s
✅ JSON v8r 5 0 0 4.09s
⚠️ MARKDOWN markdownlint 3 31 0 0.95s
⚠️ MARKDOWN markdown-table-formatter 3 1 0 0.31s
✅ PYTHON bandit 43 0 0 3.99s
✅ PYTHON pyright 43 0 0 6.37s
✅ PYTHON ruff 43 0 0 0.02s
✅ REPOSITORY checkov yes no no 20.38s
✅ REPOSITORY gitleaks yes no no 0.46s
✅ REPOSITORY git_diff yes no no 0.01s
✅ REPOSITORY grype yes no no 52.26s
✅ REPOSITORY secretlint yes no no 1.19s
✅ REPOSITORY syft yes no no 2.07s
✅ REPOSITORY trivy yes no no 12.88s
✅ REPOSITORY trivy-sbom yes no no 0.28s
✅ REPOSITORY trufflehog yes no no 3.84s
✅ SPELL lychee 23 0 0 1.69s
⚠️ YAML prettier 14 1 5 0.85s
✅ YAML v8r 14 0 0 8.78s
✅ YAML yamllint 14 0 0 0.81s

Detailed Issues

⚠️ MARKDOWN / markdown-table-formatter - 1 error
2 files contain markdown tables to format:
- README.md
- docs/MIGRACJA-V2.md
⚠️ MARKDOWN / markdownlint - 31 errors
docs/MIGRACJA-V2.md:3:401 error MD013/line-length Line length [Expected: 400; Actual: 524]
docs/MIGRACJA-V2.md:46:160 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/MIGRACJA-V2.md:48:160 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/MIGRACJA-V2.md:73:21 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/MIGRACJA-V2.md:74:21 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/MIGRACJA-V2.md:107:401 error MD013/line-length Line length [Expected: 400; Actual: 403]
docs/MIGRACJA-V2.md:107:403 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/MIGRACJA-V2.md:108:67 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/MIGRACJA-V2.md:108:134 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/MIGRACJA-V2.md:108:228 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/MIGRACJA-V2.md:108:359 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/MIGRACJA-V2.md:109:67 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/MIGRACJA-V2.md:109:134 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/MIGRACJA-V2.md:109:228 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/MIGRACJA-V2.md:109:360 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/MIGRACJA-V2.md:110:96 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/MIGRACJA-V2.md:110:149 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/MIGRACJA-V2.md:110:204 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/MIGRACJA-V2.md:110:335 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/MIGRACJA-V2.md:112:401 error MD013/line-length Line length [Expected: 400; Actual: 486]
docs/MIGRACJA-V2.md:154:320 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/MIGRACJA-V2.md:159:274 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/MIGRACJA-V2.md:160:274 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/MIGRACJA-V2.md:161:274 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/MIGRACJA-V2.md:163:274 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
README.md:74:401 error MD013/line-length Line length [Expected: 400; Actual: 472]
README.md:78:401 error MD013/line-length Line length [Expected: 400; Actual: 466]
README.md:82:401 error MD013/line-length Line length [Expected: 400; Actual: 418]
README.md:88:401 error MD013/line-length Line length [Expected: 400; Actual: 467]
README.md:120:401 error MD013/line-length Line length [Expected: 400; Actual: 465]
README.md:276 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
⚠️ JSON / prettier - 1 error
Checking formatting...
[warn] custom_components/rce_pse/translations/en.json
[warn] custom_components/rce_pse/translations/pl.json
[warn] Code style issues found in 2 files. Run Prettier with --write to fix.
⚠️ YAML / prettier - 1 error
Checking formatting...
[warn] .github/ISSUE_TEMPLATE/01-bug.yml
[warn] .github/ISSUE_TEMPLATE/02-feature-request.yml
[warn] .github/ISSUE_TEMPLATE/03-question.yml
[warn] examples/dashboard-lovelace-EN.yaml
[warn] Code style issues found in 4 files. Run Prettier with --write to fix.

See detailed reports in MegaLinter artifacts

MegaLinter is graciously provided by OX Security

@Lewa-Reka Lewa-Reka merged commit ced7072 into main Jun 2, 2026
4 checks passed
@Lewa-Reka Lewa-Reka deleted the fix/75-handle-2400 branch June 2, 2026 14:23
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.

[Bug] brak aktualizacji sensora z ceną po dzisiejszej aktualizacji Po ostatniej aktualizacji RCE ponowił się błędny odczyt cen

1 participant