Class: PG::BinaryDecoder::TimestampUtcToLocal

Inherits:
Timestamp
  • Object
show all
Defined in:
lib/pg/binary_decoder.rb

Instance Method Summary collapse

Constructor Details

#initialize(params = {}) ⇒ TimestampUtcToLocal

Returns a new instance of TimestampUtcToLocal.



13
14
15
# File 'lib/pg/binary_decoder.rb', line 13

def initialize(params={})
  super(params.merge(flags: PG::Coder::TIMESTAMP_DB_UTC | PG::Coder::TIMESTAMP_APP_LOCAL))
end