Sha256: 9c7ead6c2270bf1b2d4abbb662977c726c584ba0054d9d903ff044a1d192d478

Contents?: true

Size: 130 Bytes

Versions: 7

Compression:

Stored size: 130 Bytes

Contents

Time::DATE_FORMATS[:url_part] = lambda { |time| 
  month = time.strftime('%m').gsub(/^0/, '')
  time.strftime("%Y/#{month}/%e")
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
jabe-0.5.6 config/initializers/time_formats.rb
jabe-0.5.5 config/initializers/time_formats.rb
jabe-0.5.4 config/initializers/time_formats.rb
jabe-0.5.3 config/initializers/time_formats.rb
jabe-0.5.2 config/initializers/time_formats.rb
jabe-0.5.1 config/initializers/time_formats.rb
jabe-0.5.0 config/initializers/time_formats.rb