Module: Poms::Timestamp

Defined in:
lib/poms/timestamp.rb

Overview

Functionality for manipulating Poms timestamps

Class Method Summary collapse

Class Method Details

.convert(poms_timestamp) ⇒ Object



6
7
8
# File 'lib/poms/timestamp.rb', line 6

def convert(poms_timestamp)
  Time.at(poms_timestamp / 1000).to_datetime
end