Ruby/Time/dst
Материал из Wiki.crossplatform.ru
Версия от 17:10, 26 мая 2010; (Обсуждение)
Check whether a time is daylight savings time or not with dst? or isdst
local_time = Time.local( 2007, "jan", 30, 1, 15, 20 ) local_time.dst? # => false