aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/date/calculations.rb
diff options
context:
space:
mode:
authorAndrew White <andyw@pixeltrix.co.uk>2012-12-11 06:32:28 +0000
committerAndrew White <andyw@pixeltrix.co.uk>2012-12-11 06:32:28 +0000
commit331a82a1c8ec25cd8df3297b434cbb7cc020207a (patch)
tree7f54ce727d850323413ab0fe6e109359d9549a72 /activesupport/lib/active_support/core_ext/date/calculations.rb
parent377692e9410922bc508fafb42602187728d421e7 (diff)
downloadrails-331a82a1c8ec25cd8df3297b434cbb7cc020207a.tar.gz
rails-331a82a1c8ec25cd8df3297b434cbb7cc020207a.tar.bz2
rails-331a82a1c8ec25cd8df3297b434cbb7cc020207a.zip
Add String#in_time_zone method
This commit adds a convenience method for converting a string to an ActiveSupport::TimeWithZone instance using the configured Time.zone or another passed as an argument.
Diffstat (limited to 'activesupport/lib/active_support/core_ext/date/calculations.rb')
0 files changed, 0 insertions, 0 deletions