Sha256: 8c3f76116dc39fd63998c46c8a83fbee0a1c5be4dcbd87bd56527e226413e0f4

Contents?: true

Size: 439 Bytes

Versions: 1

Compression:

Stored size: 439 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

1 entries across 1 versions & 1 rubygems

Version Path
edtf-humanize-2.2.0 lib/edtf/humanize/language/default/iso_date.rb