Skip to content

Commit a4e1ff7

Browse files
authored
Merge pull request rails#53616 from hachi8833/update_api_time_with_zone
[ci-skip][doc] Update API doc for TimeWithZone#inspect
2 parents 5b50d30 + 8c4e215 commit a4e1ff7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activesupport/lib/active_support/time_with_zone.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def zone
136136

137137
# Returns a string of the object's date, time, zone, and offset from UTC.
138138
#
139-
# Time.zone.now.inspect # => "Thu, 04 Dec 2014 11:00:25.624541392 EST -05:00"
139+
# Time.zone.now.inspect # => "2024-11-13 07:00:10.528054960 UTC +00:00"
140140
def inspect
141141
"#{time.strftime('%F %H:%M:%S.%9N')} #{zone} #{formatted_offset}"
142142
end

0 commit comments

Comments
 (0)