Sha256: 177b79398dd13e270aae4a0ae3459019db4fef2504d2368fc96dc85f85995359
Contents?: true
Size: 292 Bytes
Versions: 15
Compression:
Stored size: 292 Bytes
Contents
require_relative "base" module Administrate module Field class Date < Base def date I18n.localize( data.to_date, format: format, ) end private def format options.fetch(:format, :default) end end end end
Version data entries
15 entries across 15 versions & 2 rubygems