summaryrefslogtreecommitdiffstats
path: root/src/solar.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/solar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/solar.py b/src/solar.py
index 53c10ad..1a89d52 100644
--- a/src/solar.py
+++ b/src/solar.py
@@ -93,7 +93,7 @@ def julian_day_to_epoch(t):
@param t:float The time in Julian Days
@return :float The time in POSIX time
'''
- return (jd - 2440587.5) * 86400.0
+ return (t - 2440587.5) * 86400.0
def epoch_to_julian_day(t):
'''