Sha256: 4763853be8d96fd656a821fa3a24b54b4284cb187167a06470f33df2fdb92ff9

Contents?: true

Size: 241 Bytes

Versions: 2

Compression:

Stored size: 241 Bytes

Contents

# frozen_string_literal: true

module DateNight
  # Methods for parsing and formatting Time objects
  module TimeFormatters
    def mm_dd_yyyy
      strftime("%m %d %Y")
    end

    def mm_dd_yy
      strftime("%m %e %y")
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
date_night-0.0.2 lib/date_night/time_formatters.rb
date_night-0.0.1 lib/date_night/time_formatters.rb