Class: PG::BinaryDecoder::TimestampUtcToLocal

Inherits:
Timestamp
  • Object
show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/pg-1.4.5/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/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/pg-1.4.5/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