[Nitro] just some suggestions
James Britt
james_b at neurogami.com
Wed Sep 7 09:06:30 EDT 2005
Emmanuel Piperakis wrote:
> Hi all,
> I know I am not a Ruby Guru, but here are some suggestions:
> in Nitro, xhtml.rb, in date_select I believe the 3rd line should be
> data ||= Date.today
> cause data ||= Time.now makes the recieve object of class Time and it is
> incompatible with Date objects in Og...
>
> Also date_select should have options for a wider range of year select
> (not just +- 10 years)
>
> Also there should be an option for turning months to numbers, turning
> off days, displaying years in '05 format, etc etc...
>
> I might try to rewrite it myself, but since I am no Ruby guru :-(
>
Ah, but skill to do comes of doing.
James
--
http://www.ruby-doc.org - The Ruby Documentation Site
http://www.rubyxml.com - News, Articles, and Listings for Ruby & XML
http://www.rubystuff.com - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com - Playing with Better Toys
More information about the Nitro-general
mailing list