• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

FlexMeasures / flexmeasures / 40716641511
87%

Build:
DEFAULT BRANCH: main
Ran 28 Oct 2026 03:39PM UTC
Jobs 1
Files 195
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Oct 2026 03:30PM UTC coverage: 87.138% (+0.003%) from 87.135%
40716641511

push

github

web-flow
Keep days calendar days across DST in offset chains (DB, HB, nD) (#2771)

* Apply offset chains on the local wall clock, so days stay calendar days across DST

Before Pandas 3, a "1D" offset is a fixed 24 hours, so "2D,DB" from just after midnight on the day before clocks go back resolved to the next day instead of the day after,
e.g. emptying an automation's window.
"HB" raised in the repeated hour, and "DB" raised where a day begins in a DST gap (America/Santiago).
Day offsets and day/hour begins now act on the local wall-clock time:
a time that occurs twice keeps its DST side, and a time that does not exist shifts forward.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: F.N. Claessen <claessen@seita.nl>

* docs: changelog entry for PR #2771

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: F.N. Claessen <claessen@seita.nl>

* Fall back to exactly 24 hours per day where a wall-clock time is ambiguous or does not exist

This makes the policy symmetric across both DST transitions:
02:30 + 1D lands 24 hours later on both the fold and the gap (02:30 CEST and 03:30 CEST, respectively),
rather than keeping the DST side on the fold but shifting to the end of the gap.
Day and hour begins keep their own handling.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: F.N. Claessen <claessen@seita.nl>

---------

Signed-off-by: F.N. Claessen <claessen@seita.nl>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

17 of 18 new or added lines in 1 file covered. (94.44%)

22805 of 26171 relevant lines covered (87.14%)

0.87 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
75.25
1.45% flexmeasures/utils/time_utils.py
Jobs
ID Job ID Ran Files Coverage
1 40716641511.1 28 Oct 2026 03:39PM UTC 195
87.14
GitHub Action Run
Source Files on build 40716641511
  • Tree
  • List 195
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40716641511
  • 34a2281a on github
  • Prev Build on main (#40691956374)
  • Next Build on main (#40764997029)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc