Class: PG::TextDecoder::TimestampUtcToLocal

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

Instance Method Summary collapse

Constructor Details

#initialize(params = {}) ⇒ TimestampUtcToLocal

Returns a new instance of TimestampUtcToLocal.



32
33
34
# File 'lib/pg/text_decoder.rb', line 32

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