Sha256: 94d3d71cc5eb5ca811876125955115a5af2fa812b9f1e62c7aa338cac4cf8b2d

Contents?: true

Size: 291 Bytes

Versions: 1

Compression:

Stored size: 291 Bytes

Contents

module SportDbAdmin
module FormatHelper


  def fmt_date_with_week( date )
    if date.nil?
      '-'
    else
      ##  e.g. 2012 (Week 22) // Oct/21 Fri
      date.strftime( "%Y (Week %V) // %b/%d %a" )
    end
  end



end # module FormatHelper
end # module SportDbAdmin

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sportdb-admin-0.2.0 app/helpers/sport_db_admin/format_helper.rb