Miss any of our Open RFC calls?Watch the recordings here! »

date-helper

0.1.2 • Public • Published

A first go at porting Rail's DateHelper to Coffeescript.

A very simple example usage.

DateHelper = require 'date-helper' DateHelper = DateHelper.DateHelper DateHelper.date_select('article', 'written_on', default: new Date('2008-3-5'), order: ['month', 'year']) ==> '\n\nJanuary\nFebruary\nMarch\nApril\nMay\nJune\nJuly\nAugust\nSeptember\nOctober\nNovember\nDecember\n\n\n2003\n2004\n2005\n2006\n2007\n2008\n2009\n2010\n2011\n2012\n2013\n\n'

Keywords

none

Install

npm i date-helper

DownloadsWeekly Downloads

2

Version

0.1.2

License

none

Last publish

Collaborators

  • avatar