Sha256: 43b6bec5b06df5c56c7e84d13c85b604218e6723c7cd91345bb52217a3e74b5b
Contents?: true
Size: 567 Bytes
Versions: 5
Compression:
Stored size: 567 Bytes
Contents
# frozen_string_literal: true module Thinreports module BasicReport module Core module Shape module TextBlock module Formatter class Datetime < Formatter::Basic private def apply_format_to(value) value.strftime(format.format_datetime_format) end def applicable?(value) !blank_value?(format.format_datetime_format) && value.respond_to?(:strftime) end end end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems