fix time/solar elevation to dayness mapping

Signed-off-by: Mattias Andrée <maandree@operamail.com>