# File lib/mail/fields/resent_date_field.rb, line 14
14: def initialize(value = nil, charset = 'utf-8')
15: self.charset = charset
16: if value.blank?
17: value = Time.now.strftime('%a, %d %b %Y %H:%M:%S %z')
18: else
19: value = strip_field(FIELD_NAME, value)
20: value = ::DateTime.parse(value.to_s).strftime('%a, %d %b %Y %H:%M:%S %z')
21: end
22: super(CAPITALIZED_FIELD, value, charset)
23: self
24: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.