TimeZone.swift 308 B

1234567891011121314151617
  1. //
  2. // TimeZone.swift
  3. // LoopKit
  4. //
  5. // Created by Nate Racklyeft on 10/2/16.
  6. // Copyright © 2016 LoopKit Authors. All rights reserved.
  7. //
  8. import Foundation
  9. extension TimeZone {
  10. static var currentFixed: TimeZone {
  11. return TimeZone(secondsFromGMT: TimeZone.current.secondsFromGMT())!
  12. }
  13. }