local_time
ByStar
local_time | ByStar | |
---|---|---|
3 | 1 | |
1,872 | 1,050 | |
0.5% | - | |
6.9 | 0.0 | |
about 1 month ago | over 1 year ago | |
CoffeeScript | Ruby | |
MIT License | MIT License |
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
-
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.
ByStar
-
Ask HN: Could you show your personal blog here?
https://ryanbigg.com
I usually write posts about code, but this post about culture and values really resonated with a lot of people:
https://ryanbigg.com/2021/12/culture-and-values
What are some alternatives?
TZinfo - TZInfo - Ruby Timezone Library
Chronic - Chronic is a pure Ruby natural language date parser.
business_time - Support for doing time math in business hours and days
ice_cube - Ruby Date Recurrence Library - Allows easy creation of recurrence rules and fast querying
groupdate - The simplest way to group temporal data
validates_timeliness - Date and time validation plugin for ActiveModel and Rails. Supports multiple ORMs and allows custom date/time formats.
fugit - time tools (cron, parsing, durations, ...) for Ruby, rufus-scheduler, and flor
time_diff - Gem which calculates the difference between two times