#46

Solved

Date/Time formatting hosed

Reported by rrwhite on Ajax Scaffold · 09/09/2006 17:23:48

Assigned to:
Nobody
Priority:
High
Status:
Solved
Category:
Bug
Version:
3.1.5

This piece of code (found in ajax_scaffold.rb,
AjaxScaffold::ScaffoldColumn.initialize):

eval = options[:eval].nil? ? "h(#{Inflector.underscore(klass.to_s)}.#{name})" : options[:eval]

messes date formatting

So if you are not defining @scaffold_columns, it turns all of the date
and time classes into strings. Which breaks the format_column method,
because it relies on the date and time columns to be Date and Time
classes.

Attachments Upload

No attachment has been uploaded, yet.


Loading comments...