method
to_fs
v7.2.3 -
Show latest stable
- Class:
ActiveSupport::TimeWithZone
to_fs(format = :default)public
Returns a string of the object’s date and time.
This method is aliased to to_formatted_s.
Accepts an optional format:
to_fs(format = :default)Returns a string of the object’s date and time.
This method is aliased to to_formatted_s.
Accepts an optional format: