# File lib/core_ext/date.rb, line 6 def self.json_create string return nil if string.nil? Date.parse(string) end