Yesterday, 14:51
They have polar night at the moment so no sunrise/sunset. You can modify the function and check the fo value to determine polar day/night:
Code:
-- polar day / night
if fo < -1 or fo > 1 then
return nil, nil
end