Class: Tlog::Format::DateTime

Inherits:
Object
  • Object
show all
Defined in:
lib/tlog/format/date_time.rb

Class Method Summary collapse

Class Method Details

.timestamp(gmt_time) ⇒ Object



3
4
5
# File 'lib/tlog/format/date_time.rb', line 3

def self.timestamp(gmt_time)
	gmt_time.strftime("%B %d, %I:%M%p")
end