HTML::DateSelector - Generate HTML for date selector.
use HTML::DateSelector; HTML::DateSelector->ymd('start_on');
generate HTML for date selector.
my $html = HTML::DateSelector->ymd('start_on'); my $html = HTML::DateSelector->ym('start_on');
date selector.
ymd => year, month, day. ym => year, month.
my $html = HTML::DateSelector->year('start_on'); my $html = HTML::DateSelector->year('start_on', {start_on => 2000, end_on => 2005});
Year selector.You can set the span of year.
my $html = HTML::DateSelector->hour('start_on'); my $html = HTML::DateSelector->minute('start_on'); # and...
primitive selector.month, day, hour, minute.
you can select the blank.
Tokuhiro Matsuno <tokuhirom @__at__ gmail.com>
<tokuhirom @__at__ gmail.com>
http://dev.rubyonrails.org/browser/trunk/actionpack/lib/action_view/helpers/date_helper.rb
Copyright (c) 2006, Tokuhiro Matsuno <tokuhiro __at__ mobilefactory.jp>. All rights reserved.
<tokuhiro __at__ mobilefactory.jp>
This module is free software; you can redistribute it and/or modify it under the same terms as Ruby on Rails itself.
To install HTML::DateSelector, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::DateSelector
CPAN shell
perl -MCPAN -e shell install HTML::DateSelector
For more information on module installation, please visit the detailed CPAN module installation guide.