class Date

def current

Returns Time.zone.today when Time.zone or config.time_zone are set, otherwise just returns Date.today.
def current
  ::Time.zone ? ::Time.zone.today : ::Date.today
end