diff options
| author | Andrew White <andyw@pixeltrix.co.uk> | 2012-12-11 12:35:30 +0000 |
|---|---|---|
| committer | Andrew White <andyw@pixeltrix.co.uk> | 2012-12-11 12:35:30 +0000 |
| commit | 4dd563592208a1d1a5d617ceaa8c22aa8a56adb8 (patch) | |
| tree | 5d34fa0ffbbdd07f76c73b4e1df0b7091886246a /guides/code/getting_started/config/initializers | |
| parent | f0a9e2f8520240dea3c23c4b971fb45d1c83eeaa (diff) | |
| download | rails-4dd563592208a1d1a5d617ceaa8c22aa8a56adb8.tar.gz rails-4dd563592208a1d1a5d617ceaa8c22aa8a56adb8.tar.bz2 rails-4dd563592208a1d1a5d617ceaa8c22aa8a56adb8.zip | |
Only call `in_time_zone` on Time or DateTime instances
Both String and Date now respond to in_time_zone so we need to
check if the value is a Time or a DateTime.
Diffstat (limited to 'guides/code/getting_started/config/initializers')
0 files changed, 0 insertions, 0 deletions
