summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-03-15 09:18:46 +0100
committerMattias Andrée <maandree@operamail.com>2014-03-15 09:18:46 +0100
commitd1f56c37afbe522960acdfb264a3d5e08b5e4f81 (patch)
treeb1e72d74288c572d88890e5e6b7092271dc0fbd5 /src
parentimprove xmonad example by having the dimming of monitors being workspace dependent (diff)
downloadblueshift-d1f56c37afbe522960acdfb264a3d5e08b5e4f81.tar.gz
blueshift-d1f56c37afbe522960acdfb264a3d5e08b5e4f81.tar.bz2
blueshift-d1f56c37afbe522960acdfb264a3d5e08b5e4f81.tar.xz
whoops
Signed-off-by: Mattias Andrée <maandree@operamail.com>
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):
'''