File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed
activesupport/lib/active_support/values Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -552,31 +552,23 @@ def local_to_utc(time, dst = true)
552
552
tzinfo . local_to_utc ( time , dst )
553
553
end
554
554
555
- # Available so that TimeZone instances respond like +TZInfo::Timezone+
556
- # instances.
557
- def period_for_utc ( time )
555
+ def period_for_utc ( time ) # :nodoc:
558
556
tzinfo . period_for_utc ( time )
559
557
end
560
558
561
- # Available so that TimeZone instances respond like +TZInfo::Timezone+
562
- # instances.
563
- def period_for_local ( time , dst = true )
559
+ def period_for_local ( time , dst = true ) # :nodoc:
564
560
tzinfo . period_for_local ( time , dst ) { |periods | periods . last }
565
561
end
566
562
567
563
def periods_for_local ( time ) # :nodoc:
568
564
tzinfo . periods_for_local ( time )
569
565
end
570
566
571
- # Available so that TimeZone instances respond like +TZInfo::Timezone+
572
- # instances.
573
- def abbr ( time )
567
+ def abbr ( time ) # :nodoc:
574
568
tzinfo . abbr ( time )
575
569
end
576
570
577
- # Available so that TimeZone instances respond like +TZInfo::Timezone+
578
- # instances.
579
- def dst? ( time )
571
+ def dst? ( time ) # :nodoc:
580
572
tzinfo . dst? ( time )
581
573
end
582
574
You can’t perform that action at this time.
0 commit comments