aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/values
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2016-04-23 23:51:49 +0900
committeryui-knk <spiketeika@gmail.com>2016-04-23 23:51:49 +0900
commit941eee5c8ebb82f97434f93fb233502cbb4f8270 (patch)
tree58164a5e255d2d863a381e9d09571a178e04f0e2 /activesupport/lib/active_support/values
parentc9c5788a527b70d7f983e2b4b47e3afd863d9f48 (diff)
downloadrails-941eee5c8ebb82f97434f93fb233502cbb4f8270.tar.gz
rails-941eee5c8ebb82f97434f93fb233502cbb4f8270.tar.bz2
rails-941eee5c8ebb82f97434f93fb233502cbb4f8270.zip
Move `DateTime#getlocal` to `/core_ext/date_time/calculations.rb`
`DateTime#getlocal` is newly added public API. It's responsible is same as `DateTime#utc`, so `calculations.rb` is a best plase to define this method. For keeping consistency with `DateTime#utc`, defines `#localtime` and defines `getlocal` as an alias method.
Diffstat (limited to 'activesupport/lib/active_support/values')
0 files changed, 0 insertions, 0 deletions