
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Various helpers to work with times, dates and weekdays, etc.
It includes the following (see end for full descriptions)
It includes the following rails extensions (only loaded if inside rails project):
gem install timely
or add to your Gemfile: gem 'timely'
require 'timely'
For examples on most usage see the tests in the spec directory. As these contain many basic examples with expected output.
some_date = Date.today - 5 # => 2008-05-03
some_date.at_time(3, 5, 13) # => Sat May 03 03:05:13 -0500 2008
# arguments are optional
some_date.at_time(13) # => Sat May 03 13:00:00 -0500 2008
some_time = Time.now - 345678 # => Sun May 04 13:40:22 -0500 2008
some_time.on_date(2001, 6, 18) # => Mon Jun 18 13:40:22 -0500 2001
# if you have objects corresponding to the times/dates you want
some_time.on_date(some_date) # => Sat May 03 13:40:22 -0500 2008
some_date.at_time(some_time) # => Sat May 03 13:40:22 -0500 2008
# if you like typing less
some_time.on(some_date) # => Sat May 03 13:40:22 -0500 2008
some_date.at(some_time) # => Sat May 03 13:40:22 -0500 2008
To publish a new version of this gem the following steps must be taken.
CHANGELOG.md
lib/timely/version.rb
FAQs
Unknown package
We found that timely demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.