Method: Mail::CommonDate::InstanceMethods#date_time
- Defined in:
- lib/mail/fields/common/common_date.rb
#date_time ⇒ Object
Returns a date time object of the parsed date
8 9 10 |
# File 'lib/mail/fields/common/common_date.rb', line 8 def date_time ::DateTime.parse("#{element.date_string} #{element.time_string}") end |