Sunrise/sunset are returned as UT_* + tzOffset without normalizing back into the 0–24 hour range. For non-zero offsets this can produce negative hours or values >= 24, which will break callers that assume a clock-time range. Normalize the adjusted values (e.g., fmod with +24) before returning.
Sunrise/sunset are returned as UT_* + tzOffset without normalizing back into the 0–24 hour range. For non-zero offsets this can produce negative hours or values >= 24, which will break callers that assume a clock-time range. Normalize the adjusted values (e.g., fmod with +24) before returning.