Sha256: 6f4677fb0db80d9dd78ad07015397f09c1029cbc9805aab3ed593c8dcde37d91

Contents?: true

Size: 237 Bytes

Versions: 2

Compression:

Stored size: 237 Bytes

Contents

module Poms
  # Functionality for manipulating Poms timestamps
  module Timestamp
    module_function

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
poms-1.2.2 lib/poms/timestamp.rb
poms-1.2.1 lib/poms/timestamp.rb