bokmann/business_time
Support for doing time math in business hours and days observed · 2026-08-28
Health v2 · maintenance only
58/100
- Activity 78
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5986
- days_rel: n/a
- days_push: 137
- n_releases_24m: 0
Adoption not part of the score
1330 stars · 217 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Ruby gem that extends ActiveSupport's time math helpers to account for business hours, business days, weekends, and holidays. It lets developers compute offsets like '8 business hours from now' or durations between dates in working time.
Use cases
- calculate sla response times in business hours
- add business days to a date skipping weekends and holidays
- check if a date is a workday
- measure business time elapsed between two timestamps
- configure custom work weeks and holiday calendars
- estimate ticket resolution deadlines in working hours
When to choose
- you're building a Ruby or Rails app that needs business-hours-aware date arithmetic
- you need configurable holidays, work weeks, or per-day business hours
- you want a lightweight, mature gem for SLA or deadline calculations
When to avoid
- you're not working in Ruby
- you need timezone-database-aware scheduling or recurring event calendars rather than simple business-time math
- you need a full scheduling or calendar service with persistence
Facets
library · maturity stable
date-time sdk developer-tools ruby business-hours time-math activesupport holidays work-week sla-calculation automation
1 source
- readme: https://github.com/bokmann/business_time · fetched 2026-08-28 · 597bb6a05312
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| bokmann/business_time | main | 58 |
For agents
markdown · JSON · MCP: product_card(name="bokmann/business_time")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem