Method: DateTime#long_view
- Defined in:
- lib/sequel/fos_dates.rb
#long_view ⇒ Object
This is a view “February 01, 2010 01:40” that be parsed directly by javascript ie. in javascript you can say: Date.parse( “this to long view” ) and you will get a date object
134 135 136 |
# File 'lib/sequel/fos_dates.rb', line 134 def long_view self.strftime('%B %d, %Y %H:%M') end |