adzap/validates_timeliness
Date and time validation plugin for ActiveModel and Rails. Supports multiple ORMs and allows custom date/time formats. observed · 2026-08-28
Health v2 · maintenance only
57/100
- Activity 55
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: 6613
- days_rel: n/a
- days_push: 270
- n_releases_24m: 0
Adoption not part of the score
1616 stars · 233 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Ruby gem providing complete date, time, and datetime validation for Rails and ActiveModel, supporting multiple ORMs and custom date/time formats via the timeliness parser. It handles timezones, type casting, I18n error messages, and fixes Rails date/time select issues.
Use cases
- validate date of birth is at least 18 years ago in a Rails model
- validate a datetime field falls between business hours
- restrict a booking date to today or later
- validate a time attribute is before another attribute
- add custom date/time format parsing to Rails validations
- validate dates and times with I18n error messages
When to choose
- you need thorough date/time/datetime validation beyond Rails' built-in validates_inclusion_of hacks
- you need before/after/between restrictions with dynamic values like lambdas or method symbols
- you need timezone-aware type casting of validated values
- you use ActiveRecord, Mongoid, or other ORMs with ActiveModel
When to avoid
- you only need simple presence validation on date fields
- you are not using Rails or ActiveModel
- you need JavaScript or client-side date validation instead of server-side
Facets
library · maturity active
form-handling date-time orm middleware web-development backend developer-tools ruby activerecord activemodel date-validation time-validation i18n timezone-handling rails
1 source
- readme: https://github.com/adzap/validates_timeliness · fetched 2026-08-28 · 7b72c2467a37
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| adzap/validates_timeliness | main | 57 |
For agents
markdown · JSON · MCP: product_card(name="adzap/validates_timeliness")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem