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