Sha256: 3d00f65afaef9370d9702f637f4f5686d0efccb4230b403aa227a690fe004f16

Contents?: true

Size: 186 Bytes

Versions: 99

Compression:

Stored size: 186 Bytes

Contents

# Fact: timezone
#
# Purpose: Return the machine's time zone.
#
# Resolution: Uses Ruby's Time module.
#
# Caveats:
#

Facter.add("timezone") do
  setcode do
    Time.new.zone
  end
end

Version data entries

99 entries across 99 versions & 2 rubygems

Version Path
facter-2.5.1-x86-mingw32 lib/facter/timezone.rb
facter-2.5.1-x64-mingw32 lib/facter/timezone.rb
facter-2.5.1-universal-darwin lib/facter/timezone.rb
facter-2.5.0 lib/facter/timezone.rb
facter-2.5.0-x86-mingw32 lib/facter/timezone.rb
facter-2.5.0-x64-mingw32 lib/facter/timezone.rb
facter-2.5.0-universal-darwin lib/facter/timezone.rb
facter-2.4.6 lib/facter/timezone.rb
facter-2.4.6-x86-mingw32 lib/facter/timezone.rb
facter-2.4.6-x64-mingw32 lib/facter/timezone.rb
facter-2.4.6-universal-darwin lib/facter/timezone.rb
facter-2.4.5 lib/facter/timezone.rb
facter-2.4.5-x86-mingw32 lib/facter/timezone.rb
facter-2.4.5-x64-mingw32 lib/facter/timezone.rb
facter-2.4.5-universal-darwin lib/facter/timezone.rb
facter-2.4.4 lib/facter/timezone.rb
facter-2.4.4-x86-mingw32 lib/facter/timezone.rb
facter-2.4.4-x64-mingw32 lib/facter/timezone.rb
facter-2.4.4-universal-darwin lib/facter/timezone.rb
facter-2.4.3 lib/facter/timezone.rb