Please sign in to comment.
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.
- Loading branch information...
Showing with 7 additions and 2 deletions.