Sha256: 3895d137ab91d107881208a7fbc5a17be1cd9e5f7f91576baca33224eba0a884

Contents?: true

Size: 435 Bytes

Versions: 3

Compression:

Stored size: 435 Bytes

Contents

# frozen_string_literal: true

module Edtf
  module Humanize
    module Language
      module Default
        module IsoDate
          include Edtf::Humanize::Language::Default::Formats

          extend self

          def humanizer(date)
            "#{apply_prefix_if_approximate(date)}" \
            "#{date_format(date)}" \
            "#{apply_suffix_if_approximate(date)}"
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
edtf-humanize-2.1.0 lib/edtf/humanize/language/default/iso_date.rb
edtf-humanize-2.0.1 lib/edtf/humanize/language/default/iso_date.rb
edtf-humanize-2.0.0 lib/edtf/humanize/language/default/iso_date.rb