Skip to content

Commit

Permalink
Make Sun.common support legacy time zone managemnt (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
seldon1000 authored Mar 18, 2023
1 parent 88335d5 commit 002ef3c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file not shown.
2 changes: 1 addition & 1 deletion Sources/SunKit/Sun.swift
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public class Sun {


public static let common: Sun = {
return Sun(location: CLLocation(latitude: 37.334886, longitude: -122.008988), timeZone: -7)
return Sun(location: CLLocation(latitude: 37.334886, longitude: -122.008988), timeZone: -7, useSameTimeZone: true)
}()

public var azimuth: Angle {
Expand Down

0 comments on commit 002ef3c

Please sign in to comment.