mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-25 07:16:41 +00:00
fixed fallback for out of range dates which Rails does not handle automatically
aliased timeliness_date_time_parse to parse_date_time for nicer interface
This commit is contained in:
6
README
6
README
@@ -231,15 +231,15 @@ an example of using Chronis instead. Put this into a file in the lib directory.
|
||||
|
||||
class ActiveRecord::Base
|
||||
|
||||
def self.timeliness_date_time_parse(raw_value, type)
|
||||
|
||||
def self.parse_date_time(raw_value, type)
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
== CREDITS:
|
||||
|
||||
* Adam Meehan (http://duckpunching.com/)
|
||||
* Adam Meehan (adam.meehan@gmail.com, http://duckpunching.com/)
|
||||
|
||||
* Jonathan Viney (http://workingwithrails.com/person/4985-jonathan-viney)
|
||||
For his validates_date_time plugin which I have used before this plugin and
|
||||
|
||||
Reference in New Issue
Block a user