local_time
Rails engine for cache-friendly, client-side local time (by basecamp)
business_time
Support for doing time math in business hours and days (by bokmann)
Our great sponsors
local_time | business_time | |
---|---|---|
3 | 1 | |
1,871 | 1,246 | |
0.6% | - | |
6.9 | 3.1 | |
about 1 month ago | 7 months ago | |
CoffeeScript | Ruby | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
local_time
Posts with mentions or reviews of local_time.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Yet another timezone question
you might find https://github.com/basecamp/local_time more appealing, if possible.
-
How do I Make My created_at Timestamps set to the User timezone?
The local_time package works well for me.
-
How to detect user timezone in larval? I'm using moment js, but sometimes it passes invalid timezone to laravel.
2) Format timestamps on the client side - you could look at something like [`local_time`](https://github.com/basecamp/local_time) for inspiration.
business_time
Posts with mentions or reviews of business_time.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-07.
-
What is the best way to structure a model to handle recurring time slots (defined by a day of the week and a time of the day)?
I reach for Business Time and Ice Cube when I need to manage recurrence tied to business hours.
What are some alternatives?
When comparing local_time and business_time you can also consider the following projects:
TZinfo - TZInfo - Ruby Timezone Library
time-lord - time-lord is a ruby gem that adds extra functionality to the time class.
groupdate - The simplest way to group temporal data
biz - Time calculations using business hours.
Chronic - Chronic is a pure Ruby natural language date parser.
fugit - time tools (cron, parsing, durations, ...) for Ruby, rufus-scheduler, and flor
ByStar - Lets you find ActiveRecord + Mongoid objects by year, month, fortnight, week and more!
validates_timeliness - Date and time validation plugin for ActiveModel and Rails. Supports multiple ORMs and allows custom date/time formats.
ice_cube - Ruby Date Recurrence Library - Allows easy creation of recurrence rules and fast querying
local_time vs TZinfo
business_time vs time-lord
local_time vs groupdate
business_time vs biz
local_time vs Chronic
business_time vs groupdate
local_time vs fugit
business_time vs fugit
local_time vs ByStar
business_time vs validates_timeliness
local_time vs validates_timeliness
business_time vs ice_cube