diff --git a/src/celerity/temporal.py b/src/celerity/temporal.py index c91d174..bd9a01c 100644 --- a/src/celerity/temporal.py +++ b/src/celerity/temporal.py @@ -75,7 +75,7 @@ def get_greenwhich_sidereal_time(date: datetime) -> float: T_0 += 24 # Convert the UTC time to a decimal fraction of hours: - UTC = date.microsecond / 1e-6 + date.second / 60 + date.minute / 60 + date.hour + UTC = (date.microsecond / 1e6) + date.second / 60 + date.minute / 60 + date.hour A = UTC * 1.002737909