Sha256: 9dc1193f94fb0060fda01efd45e8cf2863fa35d8c209545289eace8b621b6c27

Contents?: true

Size: 178 Bytes

Versions: 26

Compression:

Stored size: 178 Bytes

Contents

#!/usr/bin/env ruby

require 'time'

map = {}

STDIN.each_line do |line|
  ts = line.chomp.to_i
  time = Time.at(ts)
  puts "#{ts} - #{time.year}.#{time.month}.#{time.day}"
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
ix-cli-0.0.6 bin/ix-day
ix-cli-0.0.5 bin/ix-day
ix-cli-0.0.4 bin/ix-day
ix-cli-0.0.3 bin/ix-day
ix-cli-0.0.2 bin/ix-day
ix-cli-0.0.1 bin/ix-day