doc fixes

This commit is contained in:
Adam Meehan 2009-02-09 18:14:51 +11:00
parent 1181b725d0
commit f93720177b

View File

@ -51,9 +51,9 @@ validation method
end
The list of validation methods available are as follows:
* validates_date - validate value as date
* validates_time - validate value as time only i.e. '12:20pm'
* validates_datetime - validate value as a full date and time
validates_date - validate value as date
validates_time - validate value as time only i.e. '12:20pm'
validates_datetime - validate value as a full date and time
The validation methods take the usual options plus some specific ones to restrict
the valid range of dates or times allowed
@ -138,8 +138,7 @@ Time formats:
h-nn_ampm
h_ampm
NOTE: Any time format without a meridian token (the 'ampm' token) is considered
in 24 hour time.
NOTE: Any time format without a meridian token (the 'ampm' token) is considered in 24 hour time.
Date formats:
yyyy/mm/dd