Module: QAT::Time::Zone

Extended by:
Zone
Included in:
QAT::Time, Zone
Defined in:
lib/qat/time/zone/unix.rb,
lib/qat/time/zone/windows.rb

Overview

Since:

  • 0.1.0

Instance Method Summary collapse

Instance Method Details

#get_local_tzObject

Since:

  • 0.1.0



6
7
8
# File 'lib/qat/time/zone/unix.rb', line 6

def get_local_tz
  TimeZone::Local.get or ActiveSupport::TimeZone['UTC']
end