Security News
Highlights from the 2024 Rails Community Survey
A record 2,709 developers participated in the 2024 Ruby on Rails Community Survey, revealing key tools, practices, and trends shaping the Rails ecosystem.
ractive-datetime
Advanced tools
A date and time format mustache helper for [Ractive](http://www.ractivejs.org/), using [fecha](https://github.com/taylorhakes/fecha)
A date and time format mustache helper for Ractive, using fecha
Note: this helper is a self-registering CommonJS module, and in the browser requires a module system such as Webpack or Browserify.
npm install ractive-datetime
var Ractive = require('ractive');
require('ractive-date-time');
import Ractive from 'ractive';
import 'ractive-date-time';
<h2>{{datetime(some_date, 'MMMM Do, YYYY')}}</h2>
<h3>{{datetime(some_date, 'H:mmA')}}</h3>
May 28th, 2016
9:15AM
Full format options are here.
Note: Relative dates using fromNow
helper have been removed in version 1.x. to reduce dependency sizes.
If you need this, please use the older 0.1.x versions:
npm install ractive-datetime@0.1
FAQs
A date and time format mustache helper for [Ractive](http://www.ractivejs.org/), using [fecha](https://github.com/taylorhakes/fecha)
We found that ractive-datetime 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
A record 2,709 developers participated in the 2024 Ruby on Rails Community Survey, revealing key tools, practices, and trends shaping the Rails ecosystem.
Security News
In 2023, data breaches surged 78% from zero-day and supply chain attacks, but developers are still buried under alerts that are unable to prevent these threats.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.