Skip to content

Commit 8c4e215

Browse files
committed
[ci-skip][doc] Update API doc for Timezone#inspect
1 parent 5b50d30 commit 8c4e215

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)