Class: PG::TextDecoder::TimestampUtcToLocal
- Inherits:
-
Timestamp
- Object
- Timestamp
- PG::TextDecoder::TimestampUtcToLocal
- Defined in:
- lib/pg/text_decoder.rb
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ TimestampUtcToLocal
constructor
A new instance of TimestampUtcToLocal.
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 |