Sha256: 8bc08df3c5391ee45295c388054cfbc50f999f29fbe6240fed2ca70bdbf15217

Contents?: true

Size: 208 Bytes

Versions: 14

Compression:

Stored size: 208 Bytes

Contents

module Kaya
  module Support
    class TimeHelper

      def self.formatted_time_for timestamp
        Time.at(timestamp).strftime(Kaya::Support::Configuration.formatted_datetime)
      end

    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
kaya-0.0.14 lib/kaya/support/time_helper.rb
kaya-0.0.13 lib/kaya/support/time_helper.rb
kaya-0.0.12 lib/kaya/support/time_helper.rb
kaya-0.0.11 lib/kaya/support/time_helper.rb
kaya-0.0.10 lib/kaya/support/time_helper.rb
kaya-0.0.9 lib/kaya/support/time_helper.rb
kaya-0.0.8 lib/kaya/support/time_helper.rb
kaya-0.0.7 lib/kaya/support/time_helper.rb
kaya-0.0.6 lib/kaya/support/time_helper.rb
kaya-0.0.5 lib/kaya/support/time_helper.rb
kaya-0.0.4 lib/kaya/support/time_helper.rb
kaya-0.0.3 lib/kaya/support/time_helper.rb
kaya-0.0.2 lib/kaya/support/time_helper.rb
kaya-0.0.1 lib/kaya/support/time_helper.rb