Sha256: be591afdf7d2b7c79cb590b67031c354f1aa87d2082f93f30f6c167580ad510c
Contents?: true
Size: 370 Bytes
Versions: 3
Compression:
Stored size: 370 Bytes
Contents
require 'jactive_support/java_ext/date/localize' class java::sql::Date def self.i18n_scope :sql_date end def self.default_formatter(locale) date_instance(:default, locale) end def self.parse(str, options = {}) date = super self.new(date.time) end def self.parse_i18n(str, options = {}) date = super self.new(date.time) end end
Version data entries
3 entries across 3 versions & 1 rubygems