提交 b859d970 编写于 作者: C Claudio B.

Merge pull request #21991 from philr/doc_tzinfo_no_longer_bundled

Remove outdated documentation regarding a bundled version of TZInfo
......@@ -26,12 +26,6 @@ module ActiveSupport
# Time.zone # => #<ActiveSupport::TimeZone:0x514834...>
# Time.zone.name # => "Eastern Time (US & Canada)"
# Time.zone.now # => Sun, 18 May 2008 14:30:44 EDT -04:00
#
# The version of TZInfo bundled with Active Support only includes the
# definitions necessary to support the zones defined by the TimeZone class.
# If you need to use zones that aren't defined by TimeZone, you'll need to
# install the TZInfo gem (if a recent version of the gem is installed locally,
# this will be used instead of the bundled version.)
class TimeZone
# Keys are Rails TimeZone names, values are TZInfo identifiers.
MAPPING = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册