tablexi/nucore-open — pull request #218 by drench (2014-10-24 18:05:13+00:00)
Title: [#89152] Put report dates in the local timezone

This should solve the report date range issue. I think I narrowed it down to some behavior I didn't expect from the `YAML` object deserialization `DelayedJob` uses:

```ruby
require "active_support/core_ext"

Time.zone = "America/Chicago"

eod = Date.new(2014,10,24).end_of_day
puts eod

puts eod.strftime("%Y-%m-%d")
puts eod.in_time_zone.strftime("%Y-%m-%d")
puts YAML.load(eod.to_yaml).strftime("%Y-%m-%d")
puts YAML.load(eod.to_yaml).in_time_zone.strftime("%Y-%m-%d")
```

Output:

2014-10-24 23:59:59 -0500
2014-10-24
2014-10-24
2014-10-25
2014-10-24