Module ValidatesTimeliness::ActionView::InstanceTag
In: lib/validates_timeliness/action_view/instance_tag.rb

Intercepts the date and time select helpers to reuse the values from the the params rather than the parsed value. This allows invalid date/time values to be redisplayed instead of blanks to aid correction by the user. Its a minor usability improvement which is rarely an issue for the user.

Methods

Constants

TimelinessDateTime = Struct.new(:year, :month, :day, :hour, :min, :sec)

Public Class methods

Public Instance methods

[Validate]