Method: Sequel::SequelMethods#database_to_application_timestamp
- Defined in:
- lib/sequel/timezones.rb
#database_to_application_timestamp(v) ⇒ Object
Convert the given object into an object of Sequel.datetime_class in the application_timezone. Used when converting datetime/timestamp columns returned by the database.
104 105 106 |
# File 'lib/sequel/timezones.rb', line 104 def (v) (v, Sequel.database_timezone) end |