There are two issues here: #1) ActiveSupport::Date current method has a misleading conditional. Time.zone is always returned because config.time_zone is set by default on a project. #2) ActiveSupport::Date does not override the Date.today method. This means that the core ruby library's .today method is called which may be based off of a different time zone than what's set in config.time_zone. Submitting a pull request.
|@@ -36,9 +36,14 @@ def tomorrow|
|- # Returns Time.zone.today when <tt>Time.zone</tt> or <tt>config.time_zone</tt> are set, otherwise just returns Date.today.|
|+ # Returns Time.zone.today because <tt>config.time_zone</tt> is always set by default|
|- ::Time.zone ? ::Time.zone.today : ::Date.today|
|+ # Overrides the core Ruby Date.today by returning back Time.zone.today which allows yesterday, tomorrow, and today to all be based off of the same relative date|
|+ def today|