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

DeRuina / timberjack / 26469706198
89%

Build:
DEFAULT BRANCH: main
Ran 26 May 2026 07:17PM UTC
Jobs 1
Files 2
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

26 May 2026 07:16PM UTC coverage: 89.647% (+0.07%) from 89.573%
26469706198

push

github

web-flow
fix(format): detect fractional seconds correctly when validating BackupTimeFormat (#108)

ValidateBackupTimeFormat truncated the reference time to the precision returned by
countDigitsAfterDot, which counted the digits after the first '.' anywhere in the layout.
When a custom BackupTimeFormat used '.' as a separator (e.g. "2006-01-02_15.04.05") rather
than as a fractional-second indicator, the precision was mis-detected, the round-trip check
failed, and the format was silently rejected — falling back to the default format.

Replace countDigitsAfterDot with fractionalSecondDigits, which counts a '.' or ',' followed
by a run of '0's or '9's (how Go denotes fractional seconds in a layout), so '.' used as a
separator is no longer mistaken for fractional seconds.

Co-authored-by: Dean Ruina <81315494+DeRuina@users.noreply.github.com>

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

762 of 850 relevant lines covered (89.65%)

43.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26469706198.1 26 May 2026 07:17PM UTC 2
89.65
GitHub Action Run
Source Files on build 26469706198
  • Tree
  • List 2
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 654eefe4 on github
  • Prev Build on main (#26469602889)
  • Next Build on main (#26470179449)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc